[gstreamer-bugs] [Bug 608042] New: [v4l2src] device busy after setting back to redy and changing the mode

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 25 07:41:34 PST 2010


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

           Summary: [v4l2src] device busy after setting back to redy and
                    changing the mode
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ensonic at sonicpulse.de
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


gst-plugins-bad/tests/examples/camerabin

LIBV4L2_LOG_FILENAME=/tmp/v4l2.log
gst-plugin-bad/tests/examples/camerabin/gst-camera

change the resolution
*bang*

- I wonder about the "unknown munmap"
- as we have 2 buffers mapped we should be able to munmap 2
- maybe we get the device busy because of pedning buffers
 
(http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/spec-single/v4l2.html#vidioc-g-fmt)

...
request == VIDIOC_DQBUF
result == 0
request == VIDIOC_QBUF
result == 0
request == VIDIOC_STREAMOFF
result == 0
libv4l2: v4l2 unknown munmap 0xb6d45000, 38400
libv4l2: v4l2 unknown munmap 0xb6d3b000, 38400
request == VIDIOC_G_FMT
  pixelformat: YUYV 160x120
  field: 1 bytesperline: 320 imagesize38400
  colorspace: 8, priv: 0
result == 0
VIDIOC_S_FMT app requesting: YUYV
libv4l2: error setting pixformat: Device or resource busy
request == VIDIOC_S_FMT
  pixelformat: YUYV 160x120
  field: 1 bytesperline: 320 imagesize38400
  colorspace: 8, priv: 0
result == -1 (Device or resource busy)
VIDIOC_S_FMT app requesting: YUYV
libv4l2: error setting pixformat: Device or resource busy
request == VIDIOC_S_FMT
  pixelformat: YUYV 160x120
  field: 1 bytesperline: 320 imagesize38400
  colorspace: 8, priv: 0
result == -1 (Device or resource busy)

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