mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 08:45:23 +03:00
Remove check for "[0]" in codec_tag.
This commit is contained in:
@@ -535,8 +535,7 @@ namespace MediaBrowser.MediaEncoding.Probing
|
|||||||
Index = streamInfo.index
|
Index = streamInfo.index
|
||||||
};
|
};
|
||||||
|
|
||||||
// Filter out junk
|
if (!string.IsNullOrWhiteSpace(streamInfo.codec_tag_string))
|
||||||
if (!string.IsNullOrWhiteSpace(streamInfo.codec_tag_string) && streamInfo.codec_tag_string.IndexOf("[0]", StringComparison.OrdinalIgnoreCase) == -1)
|
|
||||||
{
|
{
|
||||||
attachment.CodecTag = streamInfo.codec_tag_string;
|
attachment.CodecTag = streamInfo.codec_tag_string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user