From 7d2beab9b1e609f255adf4c1307eee6a8e02ba61 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 13 Jun 2023 19:08:03 +0900 Subject: [PATCH] vp8decoder: Fix DPB size signalling Take current frame into account for the DPB size signalling Part-of: --- .../gst-plugins-bad/gst-libs/gst/codecs/gstvp8decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstvp8decoder.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstvp8decoder.c index 411f27281e..ffbf8d3ae3 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstvp8decoder.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstvp8decoder.c @@ -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;