summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/vdpau/gstvdpmpegdecoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpmpegdecoder.c b/sys/vdpau/gstvdpmpegdecoder.c
index f13db895..5cc913b0 100644
--- a/sys/vdpau/gstvdpmpegdecoder.c
+++ b/sys/vdpau/gstvdpmpegdecoder.c
@@ -380,6 +380,8 @@ gst_vdp_mpeg_decoder_reset (GstVdpMpegDecoder * mpeg_dec)
gst_buffer_unref (mpeg_dec->f_buffer);
gst_vdp_mpeg_decoder_init_info (&mpeg_dec->vdp_info);
+
+ gst_adapter_clear (mpeg_dec->adapter);
}
static GstFlowReturn