mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #5992 from nyanmisaka/show-rotation-mediainfo
This commit is contained in:
commit
10662fc013
3 changed files with 5 additions and 1 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));
|
||||
}
|
||||
|
|
|
@ -202,7 +202,7 @@ function getDisplayTranscodeFps(session, player) {
|
|||
return `${transcodeFramerate} fps`;
|
||||
}
|
||||
|
||||
return `${(transcodeFramerate / originalFramerate).toFixed(2)}x (${transcodeFramerate} fps)`;
|
||||
return `${transcodeFramerate} fps (${(transcodeFramerate / originalFramerate).toFixed(2)}x)`;
|
||||
}
|
||||
|
||||
function getReadableSize(size) {
|
||||
|
|
|
@ -1028,6 +1028,7 @@
|
|||
"MediaInfoProfile": "Profile",
|
||||
"MediaInfoRefFrames": "Ref frames",
|
||||
"MediaInfoResolution": "Resolution",
|
||||
"MediaInfoRotation": "Rotation",
|
||||
"MediaInfoSampleRate": "Sample rate",
|
||||
"MediaInfoSize": "Size",
|
||||
"MediaInfoTimestamp": "Timestamp",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue