VideoThumbnails failure detection improved.
This commit is contained in:
parent
cd6bd07c9d
commit
c1d2f2516a
|
@ -62,7 +62,7 @@ class VideoThumbnailsPlugin extends Plugin
|
|||
}
|
||||
|
||||
// We failed to get a frame.
|
||||
if ($frame === null) {
|
||||
if (!$frame instanceof ffmpeg_frame) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user