[Bug 728438] v4l2: Implement a v4l2 video encoder

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 28 05:52:32 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=728438
  GStreamer | gst-plugins-good | git

--- Comment #11 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-04-28 12:52:26 UTC ---
(In reply to comment #7)
> no, it doesn't fix in the  and I have modified my kernel to support count == 0,
> but 
> vb2_reqbufs() will failed. If I don't call vb2_reqbufs() while count == 0, it
> will also change ctx->state != MFCINST_GOT_INST which will failed
> s5p_mfc_queue_setup.
> I think the properly way to do that is to don't do that in
> gst_v4l2_buffer_pool_set_config, I am sorry I have no idea where have called
> REQBUF I set the bufferpool.
> I would like to share my work, I just didn't know that I shall do that if I
> haven't done it.

We don't do that in set_config() any-more in git master, since set_config() can
be called multiple time. As you stated setting REQBUFS(0) REQBUFS(N) multiple
time is not efficient and may starve the migrating allocators.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gstreamer-bugs mailing list