mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
omxvideodec: Properly drop frames due to QoS
Instead of finishing them they should be passed to drop(), which will then send QoS messages.
This commit is contained in:
parent
9c4b926c41
commit
b4e632cefe
1 changed files with 1 additions and 1 deletions
|
@ -728,7 +728,7 @@ gst_omx_video_dec_loop (GstOMXVideoDec * self)
|
|||
"Frame is too late, dropping (deadline %" GST_TIME_FORMAT ")",
|
||||
GST_TIME_ARGS (-deadline));
|
||||
flow_ret =
|
||||
gst_base_video_decoder_finish_frame (GST_BASE_VIDEO_DECODER (self),
|
||||
gst_base_video_decoder_drop_frame (GST_BASE_VIDEO_DECODER (self),
|
||||
frame);
|
||||
} else if (!frame && buf->omx_buf->nFilledLen > 0) {
|
||||
GstBuffer *outbuf;
|
||||
|
|
Loading…
Reference in a new issue