mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
test: pbutils: Add check for high throughput scc.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/645>
This commit is contained in:
parent
1781718a71
commit
5bb8bdf90d
1 changed files with 15 additions and 0 deletions
|
@ -1283,6 +1283,21 @@ GST_START_TEST (test_pb_utils_h265_profiles)
|
|||
profile = gst_codec_utils_h265_get_profile (profile_tier_level,
|
||||
sizeof (profile_tier_level));
|
||||
fail_unless_equals_string (profile, "scalable-main-444");
|
||||
|
||||
fill_h265_profile (profile_tier_level, 11, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1);
|
||||
profile = gst_codec_utils_h265_get_profile (profile_tier_level,
|
||||
sizeof (profile_tier_level));
|
||||
fail_unless_equals_string (profile, "screen-extended-main-444-10");
|
||||
|
||||
fill_h265_profile (profile_tier_level, 11, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1);
|
||||
profile = gst_codec_utils_h265_get_profile (profile_tier_level,
|
||||
sizeof (profile_tier_level));
|
||||
fail_unless_equals_string (profile, "screen-extended-main-444");
|
||||
|
||||
fill_h265_profile (profile_tier_level, 11, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1);
|
||||
profile = gst_codec_utils_h265_get_profile (profile_tier_level,
|
||||
sizeof (profile_tier_level));
|
||||
fail_unless_equals_string (profile, "screen-extended-high-throughput-444-14");
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
|
Loading…
Reference in a new issue