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:
Sebastian Dröge 2011-12-01 16:20:36 +01:00
parent 9c4b926c41
commit b4e632cefe

View file

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