From 557fe5c0e450bd0b74e61d82455a3b1996bc66be Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Sun, 16 May 2010 10:36:12 +0200 Subject: vp8dec: Fix decoding of invisible frames --- ext/vp8/gstvp8dec.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/vp8/gstvp8dec.c') diff --git a/ext/vp8/gstvp8dec.c b/ext/vp8/gstvp8dec.c index 077e81b1c..03fc21927 100644 --- a/ext/vp8/gstvp8dec.c +++ b/ext/vp8/gstvp8dec.c @@ -367,6 +367,9 @@ gst_vp8_dec_handle_frame (GstBaseVideoDecoder * decoder, GstVideoFrame * frame) do { vpx_img_free (img); } while ((img = vpx_codec_get_frame (&dec->decoder, &iter))); + } else { + /* Invisible frame */ + gst_base_video_decoder_skip_frame (decoder, frame); } out: -- cgit v1.2.3