[Bug 796672] New: v4l2object: use S_SELECTION instead of S_CROP in gst_v4l2_object_set_crop

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 25 16:52:37 UTC 2018


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

            Bug ID: 796672
           Summary: v4l2object: use S_SELECTION instead of S_CROP in
                    gst_v4l2_object_set_crop
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: p.zabel at pengutronix.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 372818
  --> https://bugzilla.gnome.org/attachment.cgi?id=372818&action=edit
v4l2object: use S_SELECTION instead of S_CROP in gst_v4l2_object_set_crop

The S_CROP call doesn't work on mem2mem output queues. Use the
S_SELECTION call to set the crop rectangle and only fall back to
S_CROP for ancient kernels.
This will allow v4l2videoenc to set the coded size on the output
queue via S_FMT and then set the visible size via the crop rectangle,
as required by the V4L2 codec API.

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