mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
vdpaumpegdec: clear the adapter when we reset the decoder
This commit is contained in:
parent
8c78a4850f
commit
2d996a3ff4
1 changed files with 2 additions and 0 deletions
|
@ -380,6 +380,8 @@ gst_vdp_mpeg_decoder_reset (GstVdpMpegDecoder * mpeg_dec)
|
||||||
gst_buffer_unref (mpeg_dec->f_buffer);
|
gst_buffer_unref (mpeg_dec->f_buffer);
|
||||||
|
|
||||||
gst_vdp_mpeg_decoder_init_info (&mpeg_dec->vdp_info);
|
gst_vdp_mpeg_decoder_init_info (&mpeg_dec->vdp_info);
|
||||||
|
|
||||||
|
gst_adapter_clear (mpeg_dec->adapter);
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
|
|
Loading…
Reference in a new issue