[Bug 733864] v4l2videodec: Implement EOS handling through V4L2_DEC_CMD_STOP

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 14 18:33:20 UTC 2016


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

--- Comment #22 from Philipp Zabel <p.zabel at pengutronix.de> ---
Do you mean I should use gst_task_join(decoder->srcpad->task) to stop and wait
for completion?
Unfortunately that will set the task state to GST_TASK_STOPPED, which will stop
the task func immediately or after the next work item (in this case one frame).
I want to wait until all remaining frames are dequeued and 
gst_v4l2_allocator_dqbuf stops the pad task by returning GST_FLOW_EOS, after
receiving -EPIPE from the VIDIOC_DQBUF ioctl.

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