From de115dac4e0535fda9d917b1dbc41de2e0424d6f Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 28 Jun 2019 14:59:18 +1000 Subject: [PATCH] h264parser lib: Add more profile_idc to the recognised set Update the list of profile_idc recognised during SPS parsing based on H.264 201704 --- gst-libs/gst/codecparsers/gsth264parser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c index be07acfc0c..cbd5e866c1 100644 --- a/gst-libs/gst/codecparsers/gsth264parser.c +++ b/gst-libs/gst/codecparsers/gsth264parser.c @@ -1604,7 +1604,9 @@ gst_h264_parse_sps_data (NalReader * nr, GstH264SPS * sps) sps->profile_idc == 122 || sps->profile_idc == 244 || sps->profile_idc == 44 || sps->profile_idc == 83 || sps->profile_idc == 86 || sps->profile_idc == 118 || - sps->profile_idc == 128) { + sps->profile_idc == 128 || sps->profile_idc == 138 || + sps->profile_idc == 139 || sps->profile_idc == 134 || + sps->profile_idc == 135) { READ_UE_MAX (nr, sps->chroma_format_idc, 3); if (sps->chroma_format_idc == 3) READ_UINT8 (nr, sps->separate_colour_plane_flag, 1);