mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Show video rotation in mediainfo
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
parent
91d3a9b161
commit
0127a3c660
2 changed files with 4 additions and 0 deletions
|
@ -194,6 +194,9 @@ function getMediaSourceHtml(user, item, version) {
|
|||
if (stream.RefFrames) {
|
||||
attributes.push(createAttribute(globalize.translate('MediaInfoRefFrames'), stream.RefFrames));
|
||||
}
|
||||
if (stream.Rotation && stream.Type === 'Video') {
|
||||
attributes.push(createAttribute(globalize.translate('MediaInfoRotation'), stream.Rotation));
|
||||
}
|
||||
if (stream.NalLengthSize) {
|
||||
attributes.push(createAttribute('NAL', stream.NalLengthSize));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue