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) {
|
if (stream.RefFrames) {
|
||||||
attributes.push(createAttribute(globalize.translate('MediaInfoRefFrames'), 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) {
|
if (stream.NalLengthSize) {
|
||||||
attributes.push(createAttribute('NAL', stream.NalLengthSize));
|
attributes.push(createAttribute('NAL', stream.NalLengthSize));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1028,6 +1028,7 @@
|
||||||
"MediaInfoProfile": "Profile",
|
"MediaInfoProfile": "Profile",
|
||||||
"MediaInfoRefFrames": "Ref frames",
|
"MediaInfoRefFrames": "Ref frames",
|
||||||
"MediaInfoResolution": "Resolution",
|
"MediaInfoResolution": "Resolution",
|
||||||
|
"MediaInfoRotation": "Rotation",
|
||||||
"MediaInfoSampleRate": "Sample rate",
|
"MediaInfoSampleRate": "Sample rate",
|
||||||
"MediaInfoSize": "Size",
|
"MediaInfoSize": "Size",
|
||||||
"MediaInfoTimestamp": "Timestamp",
|
"MediaInfoTimestamp": "Timestamp",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue