1
0
Fork 0
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:
nyanmisaka 2024-08-29 16:03:36 +08:00
parent 91d3a9b161
commit 0127a3c660
2 changed files with 4 additions and 0 deletions

View file

@ -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));
}