浏览代码

Remove check for "[0]" in codec_tag.

Andrew Mahone 5 年之前
父节点
当前提交
6ca252ba5c
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs

+ 1 - 2
MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs

@@ -535,8 +535,7 @@ namespace MediaBrowser.MediaEncoding.Probing
                 Index = streamInfo.index
             };
 
-            // Filter out junk
-            if (!string.IsNullOrWhiteSpace(streamInfo.codec_tag_string) && streamInfo.codec_tag_string.IndexOf("[0]", StringComparison.OrdinalIgnoreCase) == -1)
+            if (!string.IsNullOrWhiteSpace(streamInfo.codec_tag_string))
             {
                attachment.CodecTag = streamInfo.codec_tag_string;
             }