mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
[MOVED FROM BAD 096/134] vp8dec: use new basevideodecoder API to drop frames and get QoS messages posted
This commit is contained in:
parent
8fe80026a5
commit
020b7c902d
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ gst_vp8_dec_handle_frame (GstBaseVideoDecoder * decoder,
|
||||||
if (deadline < 0) {
|
if (deadline < 0) {
|
||||||
GST_LOG_OBJECT (dec, "Skipping late frame (%f s past deadline)",
|
GST_LOG_OBJECT (dec, "Skipping late frame (%f s past deadline)",
|
||||||
(double) -deadline / GST_SECOND);
|
(double) -deadline / GST_SECOND);
|
||||||
gst_base_video_decoder_finish_frame (decoder, frame);
|
gst_base_video_decoder_drop_frame (decoder, frame);
|
||||||
} else {
|
} else {
|
||||||
ret = gst_base_video_decoder_alloc_src_frame (decoder, frame);
|
ret = gst_base_video_decoder_alloc_src_frame (decoder, frame);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue