mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
h264: flush DPB when the end of the sequence is reached.
This commit is contained in:
parent
e52ca4a2c8
commit
d656b958a3
1 changed files with 1 additions and 0 deletions
|
@ -738,6 +738,7 @@ decode_sequence_end(GstVaapiDecoderH264 *decoder)
|
|||
|
||||
if (priv->current_picture && !decode_current_picture(decoder))
|
||||
return GST_VAAPI_DECODER_STATUS_ERROR_UNKNOWN;
|
||||
dpb_flush(decoder);
|
||||
return GST_VAAPI_DECODER_STATUS_END_OF_STREAM;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue