From fb94bd71e93c3bcbf2b1149b76a35606a0efbb09 Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Fri, 30 Aug 2024 16:44:08 -0300 Subject: [PATCH] Update --- objects/video.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/video.php b/objects/video.php index a6342a7c7a7f..a28b1b2b7b23 100644 --- a/objects/video.php +++ b/objects/video.php @@ -7247,7 +7247,7 @@ static function isVideoFileCorrupted($videos_id) $command = removeUserAgentIfNotURL($command); exec($command); - if (filesize($logFile) > 0) { + if (filesize($logFile) > 300) { file_put_contents($logFile, PHP_EOL . PHP_EOL . $command); $result['isValid'] = false; $result['msg'] = 'Video file is corrupted. See log for details. ' . ' filesize=' . (filesize($logFile)) . ' ' . $logFile;