[Bug 754470] v4l2videodec: send decoder stop command instead of queueing empty buffers

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 3 06:24:29 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=754470

--- Comment #10 from Philipp Zabel <p.zabel at pengutronix.de> ---
(In reply to Nicolas Dufresne (stormer) from comment #9)
> (In reply to Philipp Zabel from comment #8)
> > I guess I could use
> >     GST_OBJECT_LOCK (decoder->srcpad->task);
> >     GST_TASK_WAIT(decoder->srcpad->task);
> >     GST_OBJECT_UNLOCK (decoder->srcpad->task);
> > in _dec_finish instead of adding this condition.
> 
> Or wasn't gst_pad_stop_task() the way to go here ? (or at least what is used
> elsewhere ? (don't forget to update the patchset on the original bug please).

gst_pad_stop_task immediately stops the task and doesn't wait for the remaining
buffers to be dequeued. I have added new patches to bug 733864.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list