Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Bond-009 committed Aug 30, 2024
1 parent 6c63dc8 commit 3235779
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/itemMediaInfo/itemMediaInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,8 @@ function getMediaSourceHtml(user, item, version) {
if (stream.CodecTag) {
attributes.push(createAttribute(globalize.translate('MediaInfoCodecTag'), stream.CodecTag));
}
if (stream.Type === 'Video') {
if (stream.IsAVC != null) {
attributes.push(createAttribute('AVC', (stream.IsAVC ? 'Yes' : 'No')));
}
if (stream.Type === 'Video' && stream.IsAVC != null) {
attributes.push(createAttribute('AVC', (stream.IsAVC ? 'Yes' : 'No')));
}
if (stream.Profile) {
attributes.push(createAttribute(globalize.translate('MediaInfoProfile'), stream.Profile));
Expand Down

0 comments on commit 3235779

Please sign in to comment.