mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
1ae8af4909
commit
7d2beab9b1
1 changed files with 2 additions and 2 deletions
|
@ -193,8 +193,8 @@ gst_vp8_decoder_check_codec_change (GstVp8Decoder * self,
|
||||||
g_assert (klass->new_sequence);
|
g_assert (klass->new_sequence);
|
||||||
|
|
||||||
ret = klass->new_sequence (self, frame_hdr,
|
ret = klass->new_sequence (self, frame_hdr,
|
||||||
/* last/golden/alt 3 pictures */
|
/* last/golden/alt 3 reference pictures + current picture */
|
||||||
3 + priv->preferred_output_delay);
|
4 + priv->preferred_output_delay);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue