mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
vp8dec: Fix decoding of invisible frames
This commit is contained in:
parent
53c47c361d
commit
557fe5c0e4
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue