diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2009-04-27 15:12:26 +0200 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-06-20 15:21:32 +0100 |
commit | 2d996a3ff49757e299ec6218604f19e499ac0782 (patch) | |
tree | f95fceb1228b704e57705655a57ef461f8658101 | |
parent | 8c78a4850fa5bc1323fee6d47e6a9bd31d024f0e (diff) | |
download | gst-plugins-bad-2d996a3ff49757e299ec6218604f19e499ac0782.tar.gz gst-plugins-bad-2d996a3ff49757e299ec6218604f19e499ac0782.tar.bz2 gst-plugins-bad-2d996a3ff49757e299ec6218604f19e499ac0782.zip |
vdpaumpegdec: clear the adapter when we reset the decoder
-rw-r--r-- | sys/vdpau/gstvdpmpegdecoder.c | 2 |
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 |