Skip to content

Commit

Permalink
https://github.com/WWBN/AVideo/issues/8689
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel authored and daniel committed Dec 4, 2023
1 parent 17c8454 commit de7f00a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion objects/getImageMP4.php
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit de7f00a

Please sign in to comment.