[Bug 752825] New: v4l2: Patch to remove limit on framerate

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 24 06:28:57 PDT 2015


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

            Bug ID: 752825
           Summary: v4l2: Patch to remove limit on framerate
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: patcherwork at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 308079
  --> https://bugzilla.gnome.org/attachment.cgi?id=308079&action=edit
Patch to remove limit on v4l2src framerate

The current implementation of v4l2 has a hard-coded limit of 100 fps for v4l2
devices. This limits certain applications that may require an even higher
framerate and it also limits cameras with hardware cropping being applied to
them, which can also lead to framerates higher than 100. 

This patch remedies this issue. It first sets the maximum possible framerate to
G_MAXINT/1 to ensure that any future application needing higher framerates is
not capped. This patch also changes the default framerate so it is set to 100,
as it would be for all applications that do not set a framerate before this
patch.

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