[Bug 672824] New: [0.11] v4l2src exits with error unless num-buffers set

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Mar 25 19:42:51 PDT 2012

  GStreamer | gst-plugins-good | 0.11.x

           Summary: [0.11] v4l2src exits with error unless num-buffers set
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: tmcwho at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Works: gst-launch-0.11 --gst-debug=v4l*:4 v4l2src io-mode=1 num-buffers=5 !

Gives Error: gst-launch-0.11 --gst-debug=v4l*:4 v4l2src io-mode=1 !

ERROR: v4l2src gstv4l2src.c:822:gst_v4l2src_fill:<v4l2src0> error processing

The same error also occurs in a Python application when calling:
Gst.Element.send_event(self.pipeline, Gst.Event.new_eos());

Tested variant pipelines in 0.10.35 which both work without error:
gst-launch --gst-debug=v4l*:3 v4l2src num-buffers=5 ! autovideosink
gst-launch --gst-debug=v4l*:3 v4l2src ! autovideosink

Note: The 0.10.35 tests work in MMAP mode as io-mode is new and the only way I
could start a v4l2src in 0.11 per this bug:

See attached for debug info...

Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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