fix video images not being created

This commit is contained in:
Luke Pulverenti
2017-08-26 15:50:02 -04:00
parent 6147491a8a
commit 749a181fac
4 changed files with 21 additions and 2 deletions

View File

@@ -75,6 +75,11 @@ namespace Emby.Server.Implementations.MediaEncoder
return false;
}
if (!video.IsCompleteMedia)
{
return false;
}
// Can't extract images if there are no video streams
return video.DefaultVideoStreamIndex.HasValue;
}