summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHaihao Xiang <haihao.xiang@intel.com>2020-06-05 13:01:06 +0800
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>2020-09-16 16:51:45 +0000
commit626af12498c940183572004ea96a48eb3432d2f5 (patch)
tree11417bfd53d64e0132ae6725267dda56d7214cf3 /tests
parent2f5904c20d61fd75a8a8c30ec790f276c35df4b8 (diff)
downloadgstreamer-plugins-bad-626af12498c940183572004ea96a48eb3432d2f5.tar.gz
h265parser: select the right profile for high throughput SCC stream
Currently screen-extended-high-throughput-444 is recognized as screen-extended-main-444, screen-extended-high-throughput-444-10 is recognized as screen-extended-main-444-10 because they have the same extension flags, so without this patch, it is possible that a decoder which supports SCC but doesn't support throughput SCC will try to decode a throughput SCC stream. e.g. https://www.itu.int/wftp3/av-arch/jctvc-site/bitstream_exchange/draft_conformance/SCC/HT_A_SCC_Apple_2.zip Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1328>
Diffstat (limited to 'tests')
-rw-r--r--tests/check/libs/h265parser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/check/libs/h265parser.c b/tests/check/libs/h265parser.c
index 0a0e4db97..5676aea0c 100644
--- a/tests/check/libs/h265parser.c
+++ b/tests/check/libs/h265parser.c
@@ -499,9 +499,8 @@ GST_START_TEST (test_h265_format_range_profiles_exact_match)
ptl.profile_idc = 11;
set_format_range_fields (&ptl, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1);
- /* identical to screen-extended-main-444-10 */
g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==,
- GST_H265_PROFILE_SCREEN_EXTENDED_MAIN_444_10);
+ GST_H265_PROFILE_SCREEN_EXTENDED_HIGH_THROUGHPUT_444_10);
}
GST_END_TEST;