[Bug 737427] v4l2src ! ... ! appsink capture hangs after 2 samples

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Feb 15 09:44:48 PST 2015


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

--- Comment #10 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
No, this is not a possibility. The most probable cause of hangs here is that
the v4l2 buffer pool get exhausted. Do you keep buffers out of appsink around ?
Since as soon as you keep two, the pipeline will hang. To be able to keep more,
you would have to find a way to override the allocation query and request the
amount of buffers you want. Elements that copy the buffers will indeed
workaround this.

I'm starting to think this behaviour is fine and v4l2src has nothing special to
do with that. What would be missing is a way to tell appsink how many buffers
we want.

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