[Bug 752962] v4l2videodec: Add resolution change support

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Aug 17 04:50:19 PDT 2015


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

--- Comment #20 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
The approach is reasonable, unfortunately it's implementation seems too
specific, and mostly hard to use. What I foresee for the 1.7 branch that will
start soon, is a refactoring of the queue handling. I'll provide more details
as I settle the design. Big lines are:

a) Introducing a seperate thread, to handle immediate queuing and dequeuing of
pending buffer along with dequeuing and propagation of events. This way, we can
keep the driver active, and create a saner processing loop that better fit with
GStreamer. That thread would prepare and queue work for loop function to pick
and handle it while feeding back recycled buffer to the driver immediatly.

b) The rest of the queuing and streaming state handling will be move to the
allocator, this way we can instantiate multiple queue per allocator, allowing
to renegotiate the allocation queues, and adding support for renegotiation in a
scenario where filters move from passthrough to non-passthrough mode.

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