diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-12-03 17:17:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-03 17:17:48 -0500 |
| commit | 70a73984b8de5e7880f9accff60fe9fac5a664d7 (patch) | |
| tree | 2dd77535d4450f91bac63903906d4aca8964beec /Emby.Server.Implementations/MediaEncoder/EncodingManager.cs | |
| parent | defc35aedc703741239f71e161f8008caba8b746 (diff) | |
| parent | 4ec4d38f49f6e6d64b7de190e44e9729291f6837 (diff) | |
Merge pull request #3051 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/MediaEncoder/EncodingManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/MediaEncoder/EncodingManager.cs | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs b/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs index 6e0e55bef..d790f4ab8 100644 --- a/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs +++ b/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs @@ -76,6 +76,21 @@ namespace Emby.Server.Implementations.MediaEncoder return false; } + if (video.VideoType == VideoType.Iso) + { + return false; + } + + if (video.VideoType == VideoType.BluRay || video.VideoType == VideoType.Dvd) + { + return false; + } + + if (video.IsShortcut) + { + return false; + } + if (!video.IsCompleteMedia) { return false; @@ -118,16 +133,6 @@ namespace Emby.Server.Implementations.MediaEncoder { if (extractImages) { - if (video.VideoType == VideoType.Iso) - { - continue; - } - - if (video.VideoType == VideoType.BluRay || video.VideoType == VideoType.Dvd) - { - continue; - } - try { // Add some time for the first chapter to make sure we don't end up with a black image |
