omxvideodec: Don't release buffers twice if dropping because of QoS

This commit is contained in:
Sebastian Dröge 2011-11-14 12:50:26 -08:00
parent 6736a39671
commit 0f07403ff2

View file

@ -710,7 +710,6 @@ gst_omx_video_dec_loop (GstOMXVideoDec * self)
GST_WARNING_OBJECT (self, GST_WARNING_OBJECT (self,
"Frame is too late, dropping (deadline %" GST_TIME_FORMAT ")", "Frame is too late, dropping (deadline %" GST_TIME_FORMAT ")",
GST_TIME_ARGS (-deadline)); GST_TIME_ARGS (-deadline));
gst_omx_port_release_buffer (self->out_port, buf);
flow_ret = flow_ret =
gst_base_video_decoder_finish_frame (GST_BASE_VIDEO_DECODER (self), gst_base_video_decoder_finish_frame (GST_BASE_VIDEO_DECODER (self),
frame); frame);