Show video rotation in mediainfo
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
@@ -1028,6 +1028,7 @@
|
||||
"MediaInfoProfile": "Profile",
|
||||
"MediaInfoRefFrames": "Ref frames",
|
||||
"MediaInfoResolution": "Resolution",
|
||||
"MediaInfoRotation": "Rotation",
|
||||
"MediaInfoSampleRate": "Sample rate",
|
||||
"MediaInfoSize": "Size",
|
||||
"MediaInfoTimestamp": "Timestamp",
|
||||
|
||||
Reference in New Issue
Block a user