From: He Junyan Date: Tue, 28 Apr 2020 13:27:36 +0000 (+0800) Subject: test: pbutils: Add check for high throughput scc. X-Git-Tag: 1.19.3~511^2~661 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5bb8bdf90de64984725e02bf7068f053a9d43388;p=platform%2Fupstream%2Fgstreamer.git test: pbutils: Add check for high throughput scc. Part-of: --- diff --git a/tests/check/libs/pbutils.c b/tests/check/libs/pbutils.c index 434ea4f..ea1092b 100644 --- a/tests/check/libs/pbutils.c +++ b/tests/check/libs/pbutils.c @@ -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;