mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 12:02:27 +00:00
Revert "libs: decoder: h264, h265: in context at least 16 reference surfaces"
This reverts commitb387081a4d
as discussed inb387081a4d
This commit is contained in:
parent
0320e7a3b6
commit
f822366f92
2 changed files with 2 additions and 2 deletions
|
@ -1623,7 +1623,7 @@ ensure_context (GstVaapiDecoderH264 * decoder, GstH264SPS * sps)
|
|||
info.chroma_type = priv->chroma_type;
|
||||
info.width = sps->width;
|
||||
info.height = sps->height;
|
||||
info.ref_frames = 16;
|
||||
info.ref_frames = dpb_size;
|
||||
|
||||
if (!gst_vaapi_decoder_ensure_context (GST_VAAPI_DECODER (decoder), &info))
|
||||
return GST_VAAPI_DECODER_STATUS_ERROR_UNKNOWN;
|
||||
|
|
|
@ -1202,7 +1202,7 @@ ensure_context (GstVaapiDecoderH265 * decoder, GstH265SPS * sps)
|
|||
info.chroma_type = priv->chroma_type;
|
||||
info.width = sps->width;
|
||||
info.height = sps->height;
|
||||
info.ref_frames = 16;
|
||||
info.ref_frames = dpb_size;
|
||||
|
||||
if (!gst_vaapi_decoder_ensure_context (GST_VAAPI_DECODER (decoder), &info))
|
||||
return GST_VAAPI_DECODER_STATUS_ERROR_UNKNOWN;
|
||||
|
|
Loading…
Reference in a new issue