Remove check for "[0]" in codec_tag.

This commit is contained in:
Andrew Mahone 2019-11-05 07:09:55 -05:00
parent 28a6718d8e
commit 6ca252ba5c

View File

@ -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;
}