[Bug 740633] v4l2src: RW io-mode is broken

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Dec 7 16:02:02 PST 2014


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

Nicolas Dufresne (stormer) <nicolas.dufresne> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.4.5

--- Comment #2 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> 2014-12-08 00:01:58 UTC ---
1.5:
commit 0e05faf91a476efd56adfb0d1b82e71a2d13ff89
Author: Nicolas Dufresne <nicolas.dufresne at collabora.co.uk>
Date:   Sun Dec 7 17:27:37 2014 -0500

    v4l2: Fix RW io mode

    In RW, allocator can be null, max_buffers can be zero, and we need not
    to wait while the queue is empty since there is no queue.

    https://bugzilla.gnome.org/show_bug.cgi?id=740633

commit eb1dcd841abe80abf7b9e880e195c8a0033ea0d4
Author: Nicolas Dufresne <nicolas.dufresne at collabora.co.uk>
Date:   Sun Dec 7 17:33:51 2014 -0500

    v4l2: Workaround libv4l2 RW emulation bug

    When libv4l2 emulates RW mode on top of MMAP devices, the queues are
    only initialized on first read. The problem is that poll() will fail
    if called before the queues are initialized and streaming. Workaround
    this by doing a zero size read when pool is started in that IO mode.

    https://bugzilla.gnome.org/show_bug.cgi?id=740633

1.4
commit 6e4044
commit 6228d1

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