[Bug 783361] v4l2h264enc: Sink buffer pool activation fails

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 2 18:05:47 UTC 2017


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

--- Comment #2 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Created attachment 353096
  --> https://bugzilla.gnome.org/attachment.cgi?id=353096&action=edit
Please give this patch a try. As seen in the trace, the min_buffers is 0, which

makes the buffer pool set config return FALSE in a context we didn't expect the
config to be modified. Notes, it's still not fully idea, long term we should
externalize the allocator, so that we can check if it supports CREATE_BUFS and
set the max_buffer to 32 here.

v4l2videoenc: Make sure min_buffers is valid

When upstream does no use the v4l2videoenc pool, we need to activate
that internal pool. Though, we relied the driver to provide a minimum
required buffer, which Qualcomm Venus driver don't currently provide.

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