vdpaumpegdec: clear the adapter when we reset the decoder

This commit is contained in:
Carl-Anton Ingmarsson 2009-04-27 15:12:26 +02:00 committed by Jan Schmidt
parent 8c78a4850f
commit 2d996a3ff4

View file

@ -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