mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
mpeg2decoder: Fix DPB size signalling
Take current frame into account for the DPB size signalling Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4845>
This commit is contained in:
parent
965e566156
commit
77b9e1351a
1 changed files with 2 additions and 2 deletions
|
@ -802,8 +802,8 @@ gst_mpeg2_decoder_handle_picture (GstMpeg2Decoder * decoder,
|
||||||
&priv->seq_display_ext : NULL,
|
&priv->seq_display_ext : NULL,
|
||||||
_seq_scalable_ext_is_valid (&priv->seq_scalable_ext) ?
|
_seq_scalable_ext_is_valid (&priv->seq_scalable_ext) ?
|
||||||
&priv->seq_scalable_ext : NULL,
|
&priv->seq_scalable_ext : NULL,
|
||||||
/* previous/next 2 pictures */
|
/* previous/next 2 pictures + current picture */
|
||||||
2 + priv->preferred_output_delay);
|
3 + priv->preferred_output_delay);
|
||||||
|
|
||||||
if (ret != GST_FLOW_OK) {
|
if (ret != GST_FLOW_OK) {
|
||||||
GST_WARNING_OBJECT (decoder, "new sequence error");
|
GST_WARNING_OBJECT (decoder, "new sequence error");
|
||||||
|
|
Loading…
Reference in a new issue