Only show IsAVC for video streams
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user