mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Remove check for "[0]" in codec_tag.
This commit is contained in:
parent
28a6718d8e
commit
6ca252ba5c
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user