mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 06:58:49 +00:00
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:
parent
958ea067cb
commit
1e36478b0f
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue