mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
av1decoder: 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
77b9e1351a
commit
842805d7c6
1 changed files with 2 additions and 1 deletions
|
@ -409,7 +409,8 @@ gst_av1_decoder_process_sequence (GstAV1Decoder * self, GstAV1OBU * obu)
|
|||
}
|
||||
|
||||
ret = klass->new_sequence (self, &seq_header,
|
||||
GST_AV1_TOTAL_REFS_PER_FRAME + priv->preferred_output_delay);
|
||||
/* +1 for the current frame */
|
||||
GST_AV1_TOTAL_REFS_PER_FRAME + 1 + priv->preferred_output_delay);
|
||||
if (ret != GST_FLOW_OK) {
|
||||
GST_ERROR_OBJECT (self, "subclass does not want accept new sequence");
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue