mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 13:11:06 +00:00
vp9decoder: 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
7d2beab9b1
commit
965e566156
1 changed files with 2 additions and 1 deletions
|
@ -251,7 +251,8 @@ gst_vp9_decoder_check_codec_change (GstVp9Decoder * self,
|
|||
}
|
||||
|
||||
ret = klass->new_sequence (self, frame_hdr,
|
||||
GST_VP9_REF_FRAMES + priv->preferred_output_delay);
|
||||
/* +1 for the current frame */
|
||||
GST_VP9_REF_FRAMES + 1 + priv->preferred_output_delay);
|
||||
|
||||
if (ret != GST_FLOW_OK)
|
||||
priv->had_sequence = FALSE;
|
||||
|
|
Loading…
Reference in a new issue