Commit c1d2f251 authored by mmn's avatar mmn

VideoThumbnails failure detection improved.

parent cd6bd07c
......@@ -62,7 +62,7 @@ class VideoThumbnailsPlugin extends Plugin
}
// We failed to get a frame.
if ($frame === null) {
if (!$frame instanceof ffmpeg_frame) {
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment