From de7f00a87dc6938b763b3681b5bdbac343cc8e00 Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 4 Dec 2023 10:04:35 -0300 Subject: [PATCH] https://github.com/WWBN/AVideo/issues/8689 --- objects/getImageMP4.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/objects/getImageMP4.php b/objects/getImageMP4.php index d04ebce04..d708a1763 100644 --- a/objects/getImageMP4.php +++ b/objects/getImageMP4.php @@ -70,11 +70,14 @@ function testTime($line) { header('Content-Type: image/jpg'); die(Encoder::getThumbsFromLink($url)); } else { - + testTime(__LINE__); + /* if ($_GET['time'] > 600) { $_GET['time'] = 600; } + * + */ $duration = Encoder::parseSecondsToDuration($_GET['time']); error_log("GetImageInTime duration=$duration time={$_GET['time']}"); if ($_GET['format'] === 'jpg') {