[Bug 728438] v4l2: Implement a v4l2 video encoder

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 27 19:55:21 PDT 2014


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

--- Comment #23 from ayaka <lxr1234 at hotmail.com> 2014-05-28 02:55:17 UTC ---
I was wrong, the encoder doesn't need to enqueue all the buffers after
requesting the buffers, the difference is just the when to start the STREAMON.
I meet a problem now,
when I call the allocator for the CAPTURE side, it seems that the allocator
doesn't see properly. I wonder where it is set.
Breakpoint 7, gst_v4l2_allocator_start (allocator=0xb5e2c208,
count=count at entry=2, memory=memory at entry=1) at gstv4l2allocator.c:659
659     {
(gdb) n
660       struct v4l2_requestbuffers breq = { count, allocator->type, memory };
(gdb) 
659     {
(gdb) 
664       g_return_val_if_fail (count != 0, 0);
(gdb) print allocator->type
$39 = 0
(gdb) print  count
$40 = 2

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