[Bug 671126] New: v4l2src: avoid using same lenght variable for mmap and video buffer

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 1 05:25:47 PST 2012

  GStreamer | gst-plugins-good | git

           Summary: v4l2src: avoid using same lenght variable for mmap and
                    video buffer
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: bug-track at fisher-privat.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created an attachment (id=208781)
 View: https://bugzilla.gnome.org/attachment.cgi?id=208781
 Review: https://bugzilla.gnome.org/review?bug=671126&attachment=208781

v4l2src: patch v1

current v4l2src use same structure for VIDIOC_QUERYBUF, VIDIOC_QBUF
aand v4l2_munmap calls. The problem, video buffer size (lenght) may variate for
compressed or emulated bufs. VIDIOC_QBUF will change it if we pass
the pointer of v4l2_buffer pointer.
This is why we should avoid using same variable for mmap and video buffers.

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