h264: Update for parse_vui_params parameter removal.

Update calls to the h264 parser lib for removal of the
parse_vui_params parameter.
This commit is contained in:
Jan Schmidt 2019-06-29 00:08:40 +10:00 committed by Nicolas Dufresne
parent 958ea067cb
commit 1e36478b0f

View file

@ -1766,7 +1766,7 @@ parse_sps (GstVaapiDecoderH264 * decoder, GstVaapiDecoderUnit * unit)
standard but that should get a default value anyway */ standard but that should get a default value anyway */
sps->log2_max_pic_order_cnt_lsb_minus4 = 0; 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) if (result != GST_H264_PARSER_OK)
return get_status (result); return get_status (result);
@ -1788,8 +1788,7 @@ parse_subset_sps (GstVaapiDecoderH264 * decoder, GstVaapiDecoderUnit * unit)
standard but that should get a default value anyway */ standard but that should get a default value anyway */
sps->log2_max_pic_order_cnt_lsb_minus4 = 0; sps->log2_max_pic_order_cnt_lsb_minus4 = 0;
result = gst_h264_parser_parse_subset_sps (priv->parser, &pi->nalu, sps, result = gst_h264_parser_parse_subset_sps (priv->parser, &pi->nalu, sps);
TRUE);
if (result != GST_H264_PARSER_OK) if (result != GST_H264_PARSER_OK)
return get_status (result); return get_status (result);