[Bug 762986] New: videoscale: Add option for navigation events to scale and respect internal region without borders

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 2 13:13:35 UTC 2016


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

            Bug ID: 762986
           Summary: videoscale: Add option for navigation events to scale
                    and respect internal region without borders
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: patcherwork at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The current version of videoscale scales navigation events based on the input
to output ratio. If the output includes borders, the scaling includes the
border area, which causes navigation events to be misaligned compared to the
position of the mouse. This can be illustrated with the following example:

gst-launch-1.0 videotestsrc ! navigationtest !
video/x-raw,width=1024,height=512 ! videoscale !  videoconvert ! ximagesink

If the output window is resized to include borders, moving the mouse over the
output 

This patch provides a fix for this behavior, scaling the navigation events
based on only the internal region and not the borders. All events that are
within the borders are discarded.

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