Browse Source

fix m2ts input specifier

Luke Pulverenti 8 năm trước cách đây
mục cha
commit
bdf959cd83
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

+ 4 - 0
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;
         }