[gstreamer-bugs] [Bug 583890] v4l2: should use pad_alloc
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue May 26 06:42:24 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=583890
GStreamer | gst-plugins-good | Ver: git
------- Comment #1 from Stefan Kost (gstreamer, gtkdoc dev) 2009-05-26 13:41 UTC -------
Created an attachment (id=135383)
--> (http://bugzilla.gnome.org/attachment.cgi?id=135383&action=view)
implement pad_alloc_buffer usage
For testing, please run:
GST_DEBUG="v4l2*:3" gst-launch-0.10 2>&1 v4l2src always-copy=false !
"video/x-raw-yuv,width=640,height=480" ! xvimagesink
if you get this, then the driver does not support userspace pointers when
streaming :/
v4l2src_calls.c:1437:gst_v4l2src_capture_init:<v4l2src0> allocate buffers via
mmap
v4l2src_calls.c:1459:gst_v4l2src_capture_init:<v4l2src0> capturing buffers via
streaming
If you see this, it works
v4l2src_calls.c:1450:gst_v4l2src_capture_init:<v4l2src0> allocate buffers via
pad_alloc
v4l2src_calls.c:1460:gst_v4l2src_capture_init:<v4l2src0> capturing buffers via
streaming
Another test is to use GST_DEBUG="xv*:5" and grep for "slow". It should not
appear anymore when userspace pointer are in use.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=583890.
More information about the Gstreamer-bugs
mailing list