vp8dec: Fix decoding of invisible frames

This commit is contained in:
Sebastian Dröge 2010-05-16 10:36:12 +02:00
parent 53c47c361d
commit 557fe5c0e4

View file

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