mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Add tests
This commit is contained in:
parent
d2caed25fb
commit
e931f5a32b
2 changed files with 22 additions and 1 deletions
|
@ -75,6 +75,14 @@ namespace Jellyfin.MediaEncoding.Tests.Probing
|
|||
Assert.Equal(1, res.VideoStream.RefFrames);
|
||||
Assert.Equal("1/1000", res.VideoStream.TimeBase);
|
||||
Assert.Equal(MediaStreamType.Video, res.VideoStream.Type);
|
||||
Assert.Equal(1, res.VideoStream.DvVersionMajor);
|
||||
Assert.Equal(0, res.VideoStream.DvVersionMinor);
|
||||
Assert.Equal(5, res.VideoStream.DvProfile);
|
||||
Assert.Equal(6, res.VideoStream.DvLevel);
|
||||
Assert.Equal(1, res.VideoStream.RpuPresentFlag);
|
||||
Assert.Equal(0, res.VideoStream.ElPresentFlag);
|
||||
Assert.Equal(1, res.VideoStream.BlPresentFlag);
|
||||
Assert.Equal(0, res.VideoStream.DvBlSignalCompatibilityId);
|
||||
|
||||
Assert.Empty(res.Chapters);
|
||||
Assert.Equal("Just color bars", res.Overview);
|
||||
|
|
|
@ -47,7 +47,20 @@
|
|||
"tags": {
|
||||
"ENCODER": "Lavc57.107.100 libx264",
|
||||
"DURATION": "00:00:01.000000000"
|
||||
}
|
||||
},
|
||||
"side_data_list": [
|
||||
{
|
||||
"side_data_type": "DOVI configuration record",
|
||||
"dv_version_major": 1,
|
||||
"dv_version_minor": 0,
|
||||
"dv_profile": 5,
|
||||
"dv_level": 6,
|
||||
"rpu_present_flag": 1,
|
||||
"el_present_flag": 0,
|
||||
"bl_present_flag": 1,
|
||||
"dv_bl_signal_compatibility_id": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"chapters": [
|
||||
|
|
Loading…
Reference in a new issue