aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2019-11-05 07:09:55 -0500
committerAndrew Mahone <andrew.mahone@gmail.com>2019-11-05 07:09:55 -0500
commit6ca252ba5c651e41ad8a18c5555f5b60d81f0952 (patch)
tree90da4cb95ad41af22f9f2e47bf330c4ef74b2e96
parent28a6718d8e77527c3949118676dc6e165e3608f5 (diff)
Remove check for "[0]" in codec_tag.
-rw-r--r--MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
index 2c001d775..f2056c566 100644
--- a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
+++ b/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;
}