Skip to content

Commit

Permalink
Merge pull request #156 from biigle/patch-1
Browse files Browse the repository at this point in the history
Increase trySeek for edge case video annotations
  • Loading branch information
mzur authored Feb 21, 2024
2 parents f552598 + 4d9169a commit 19cc90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/ProcessAnnotatedVideo.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ protected function getVideo($path)
*
* @return \Jcupitt\Vips\Video
*/
protected function getVideoFrame(Video $video, float $time, int $trySeek = 3)
protected function getVideoFrame(Video $video, float $time, int $trySeek = 5)
{
// Sometimes an annotation is near the end of the video (or exactly at the end).
// FFMpeg often returns an empty buffer in this case. If there is an empty frame,
Expand Down

0 comments on commit 19cc90b

Please sign in to comment.