VideoThumbnails failure detection improved.

This commit is contained in:
Mikael Nordfeldth 2014-04-29 19:45:42 +02:00
parent cd6bd07c9d
commit c1d2f2516a
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class VideoThumbnailsPlugin extends Plugin
}
// We failed to get a frame.
if ($frame === null) {
if (!$frame instanceof ffmpeg_frame) {
return true;
}