summaryrefslogtreecommitdiff
path: root/ext/vp8/gstvp8dec.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-16 10:36:12 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-19 19:24:03 +0200
commit557fe5c0e450bd0b74e61d82455a3b1996bc66be (patch)
tree0ab41ff5d57463f69b3b23806ce2bd1a6e8656b4 /ext/vp8/gstvp8dec.c
parent53c47c361d02024ffccdd1565e9cdc5805eaf475 (diff)
vp8dec: Fix decoding of invisible frames
Diffstat (limited to 'ext/vp8/gstvp8dec.c')
-rw-r--r--ext/vp8/gstvp8dec.c3
1 files changed, 3 insertions, 0 deletions
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: