vp8decoder: 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:
Seungha Yang 2023-06-13 19:08:03 +09:00 committed by GStreamer Marge Bot
parent 1ae8af4909
commit 7d2beab9b1

View file

@ -193,8 +193,8 @@ gst_vp8_decoder_check_codec_change (GstVp8Decoder * self,
g_assert (klass->new_sequence);
ret = klass->new_sequence (self, frame_hdr,
/* last/golden/alt 3 pictures */
3 + priv->preferred_output_delay);
/* last/golden/alt 3 reference pictures + current picture */
4 + priv->preferred_output_delay);
}
return ret;