From bdf959cd8381ddbe77051faaab83436fedb9f0f7 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 25 Feb 2017 10:59:19 -0500 Subject: [PATCH] fix m2ts input specifier --- MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index 4e1a0a8d7..5d0b0558b 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs @@ -154,6 +154,10 @@ namespace MediaBrowser.Controller.MediaEncoding { return "mpegts"; } + if (string.Equals(container, "m2ts", StringComparison.OrdinalIgnoreCase)) + { + return null; + } return container; }