h264: Update for parse_vui_params parameter removal.
authorJan Schmidt <jan@centricular.com>
Fri, 28 Jun 2019 14:08:40 +0000 (00:08 +1000)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 4 Jul 2019 20:52:18 +0000 (16:52 -0400)
Update calls to the h264 parser lib for removal of the
parse_vui_params parameter.

gst-libs/gst/vaapi/gstvaapidecoder_h264.c

index fb4c549..f784969 100644 (file)
@@ -1766,7 +1766,7 @@ parse_sps (GstVaapiDecoderH264 * decoder, GstVaapiDecoderUnit * unit)
      standard but that should get a default value anyway */
   sps->log2_max_pic_order_cnt_lsb_minus4 = 0;
 
-  result = gst_h264_parser_parse_sps (priv->parser, &pi->nalu, sps, TRUE);
+  result = gst_h264_parser_parse_sps (priv->parser, &pi->nalu, sps);
   if (result != GST_H264_PARSER_OK)
     return get_status (result);
 
@@ -1788,8 +1788,7 @@ parse_subset_sps (GstVaapiDecoderH264 * decoder, GstVaapiDecoderUnit * unit)
      standard but that should get a default value anyway */
   sps->log2_max_pic_order_cnt_lsb_minus4 = 0;
 
-  result = gst_h264_parser_parse_subset_sps (priv->parser, &pi->nalu, sps,
-      TRUE);
+  result = gst_h264_parser_parse_subset_sps (priv->parser, &pi->nalu, sps);
   if (result != GST_H264_PARSER_OK)
     return get_status (result);