[Bug 766381] New: v4l2object: use G_SELECTION instead of G_CROP in gst_v4l2_object_acquire_format

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri May 13 15:48:52 UTC 2016


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

            Bug ID: 766381
           Summary: v4l2object: use G_SELECTION instead of G_CROP in
                    gst_v4l2_object_acquire_format
    Classification: Platform
           Product: GStreamer
           Version: 1.8.1
                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 327799
  --> https://bugzilla.gnome.org/attachment.cgi?id=327799&action=edit
v4l2object: use G_SELECTION instead of G_CROP in 
gst_v4l2_object_acquire_format

The gst_v4l2_object_acquire_format() function is used by v4l2videodec to obtain
the currently set capture format. Since G_FMT returns the coded size, the
visible size needs to be obtained from the compose rectangle in order to
negotiate it with downstream elements. The G_CROP call hasn't worked on mem2mem
capture queues for a long time. Instead use the G_SELECTION call to obtain the 
compose rectangle and only fall back to G_CROP for ancient kernels.

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