Parcourir la source

Remove check for "[0]" in codec_tag.

Andrew Mahone il y a 5 ans
Parent
commit
6ca252ba5c
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  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;
             }