mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Add tests for the video rotation side data
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
parent
5967d26228
commit
6076462ff5
@ -84,6 +84,7 @@ namespace Jellyfin.MediaEncoding.Tests.Probing
|
|||||||
Assert.Equal(0, res.VideoStream.ElPresentFlag);
|
Assert.Equal(0, res.VideoStream.ElPresentFlag);
|
||||||
Assert.Equal(1, res.VideoStream.BlPresentFlag);
|
Assert.Equal(1, res.VideoStream.BlPresentFlag);
|
||||||
Assert.Equal(0, res.VideoStream.DvBlSignalCompatibilityId);
|
Assert.Equal(0, res.VideoStream.DvBlSignalCompatibilityId);
|
||||||
|
Assert.Equal(-180, res.VideoStream.Rotation);
|
||||||
|
|
||||||
var audio1 = res.MediaStreams[1];
|
var audio1 = res.MediaStreams[1];
|
||||||
Assert.Equal("eac3", audio1.Codec);
|
Assert.Equal("eac3", audio1.Codec);
|
||||||
|
@ -59,6 +59,10 @@
|
|||||||
"el_present_flag": 0,
|
"el_present_flag": 0,
|
||||||
"bl_present_flag": 1,
|
"bl_present_flag": 1,
|
||||||
"dv_bl_signal_compatibility_id": 0
|
"dv_bl_signal_compatibility_id": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"side_data_type": "Display Matrix",
|
||||||
|
"rotation": -180
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user