mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Only show IsAVC for video streams
This commit is contained in:
parent
d1bc4c079f
commit
1c13b436db
1 changed files with 4 additions and 2 deletions
|
@ -107,8 +107,10 @@ function getMediaSourceHtml(user, item, version) {
|
|||
if (stream.CodecTag) {
|
||||
attributes.push(createAttribute(globalize.translate('MediaInfoCodecTag'), stream.CodecTag));
|
||||
}
|
||||
if (stream.IsAVC != null) {
|
||||
attributes.push(createAttribute('AVC', (stream.IsAVC ? 'Yes' : 'No')));
|
||||
if (stream.Type === 'Video') {
|
||||
if (stream.IsAVC != null) {
|
||||
attributes.push(createAttribute('AVC', (stream.IsAVC ? 'Yes' : 'No')));
|
||||
}
|
||||
}
|
||||
if (stream.Profile) {
|
||||
attributes.push(createAttribute(globalize.translate('MediaInfoProfile'), stream.Profile));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue