aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-08-06 19:01:30 -0400
committerGitHub <noreply@github.com>2017-08-06 19:01:30 -0400
commite9bf2e413222af14ca791d989bd0470d5e282ae0 (patch)
tree326030dc1915f3c4e00f4f10eab5c171b7e87ca4 /Emby.Server.Implementations/MediaEncoder/EncodingManager.cs
parentd8c2dd253277ba2ce7a5a7496b278db0e4e85106 (diff)
parent6d78824c8e9fa9fe1e46944ca6901af724b8f7cd (diff)
Merge pull request #2796 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/MediaEncoder/EncodingManager.cs')
-rw-r--r--Emby.Server.Implementations/MediaEncoder/EncodingManager.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs b/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs
index 181a49034..60379f5ec 100644
--- a/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs
+++ b/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs
@@ -122,17 +122,11 @@ namespace Emby.Server.Implementations.MediaEncoder
continue;
}
- List<string> playableStreamFileNames = null;
if (video.VideoType == VideoType.BluRay || video.VideoType == VideoType.Dvd)
{
continue;
}
- if (playableStreamFileNames == null)
- {
- playableStreamFileNames = new List<string>();
- }
-
try
{
// Add some time for the first chapter to make sure we don't end up with a black image
@@ -140,7 +134,7 @@ namespace Emby.Server.Implementations.MediaEncoder
var protocol = MediaProtocol.File;
- var inputPath = MediaEncoderHelpers.GetInputArgument(_fileSystem, video.Path, protocol, null, playableStreamFileNames);
+ var inputPath = MediaEncoderHelpers.GetInputArgument(_fileSystem, video.Path, protocol, null, new List<string>());
_fileSystem.CreateDirectory(_fileSystem.GetDirectoryName(path));