diff options
author | He Junyan <junyan.he@hotmail.com> | 2020-04-12 23:39:07 +0800 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-04-28 13:54:11 +0000 |
commit | bd2fb6cbb92f8e46ab172b2f1258a97366516153 (patch) | |
tree | 8c12db7a60843718b16670fcc5cbcd4413d14fa5 /gst-libs/gst/codecparsers | |
parent | be1cdca760600213f366f775553fdb406f00c777 (diff) | |
download | gstreamer-plugins-bad-bd2fb6cbb92f8e46ab172b2f1258a97366516153.tar.gz |
libs: h265parser: Add High throughput scc extensions profiles' IDC.
It is compitable with scc and we use scc's function to identify it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1121>
Diffstat (limited to 'gst-libs/gst/codecparsers')
-rw-r--r-- | gst-libs/gst/codecparsers/gsth265parser.c | 5 | ||||
-rw-r--r-- | gst-libs/gst/codecparsers/gsth265parser.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gst-libs/gst/codecparsers/gsth265parser.c b/gst-libs/gst/codecparsers/gsth265parser.c index 52adc47c2..2b259dd9e 100644 --- a/gst-libs/gst/codecparsers/gsth265parser.c +++ b/gst-libs/gst/codecparsers/gsth265parser.c @@ -3481,7 +3481,10 @@ gst_h265_profile_tier_level_get_profile (GstH265ProfileTierLevel * ptl) return get_3d_profile (ptl); if (ptl->profile_idc == GST_H265_PROFILE_IDC_SCREEN_CONTENT_CODING - || ptl->profile_compatibility_flag[9]) + || ptl->profile_compatibility_flag[9] + || ptl->profile_idc == + GST_H265_PROFILE_IDC_HIGH_THROUGHPUT_SCREEN_CONTENT_CODING_EXTENSION + || ptl->profile_compatibility_flag[11]) return get_screen_content_coding_extensions_profile (ptl); if (ptl->profile_idc == GST_H265_PROFILE_IDC_SCALABLE_FORMAT_RANGE_EXTENSION diff --git a/gst-libs/gst/codecparsers/gsth265parser.h b/gst-libs/gst/codecparsers/gsth265parser.h index 4f05ae041..e618929a3 100644 --- a/gst-libs/gst/codecparsers/gsth265parser.h +++ b/gst-libs/gst/codecparsers/gsth265parser.h @@ -219,6 +219,7 @@ typedef enum { * @GST_H265_PROFILE_IDC_SCREEN_CONTENT_CODING: Screen content coding extensions profiles (A.3.7) * @GST_H265_PROFILE_IDC_3D_MAIN: 3D Main profile (I.11.1) (Since: 1.18) * @GST_H265_PROFILE_IDC_SCALABLE_FORMAT_RANGE_EXTENSION: Scalable Format range extensions profiles (H.11.1) (Since: 1.18) + * @GST_H265_PROFILE_IDC_HIGH_THROUGHPUT_SCREEN_CONTENT_CODING_EXTENSION: High throughput screen content coding extensions profiles (A.3.8) (Since: 1.18) * * Valid values for the profile_idc field. This is different from * #GstH265Profile as an extension idc can be used to encode a whole variety of @@ -236,6 +237,7 @@ typedef enum { GST_H265_PROFILE_IDC_3D_MAIN = 8, GST_H265_PROFILE_IDC_SCREEN_CONTENT_CODING = 9, GST_H265_PROFILE_IDC_SCALABLE_FORMAT_RANGE_EXTENSION = 10, + GST_H265_PROFILE_IDC_HIGH_THROUGHPUT_SCREEN_CONTENT_CODING_EXTENSION = 11, } GstH265ProfileIDC; /** |