[Bug 797119] New: gst_video_overlay_set_render_rectangle broken on windows for several sinks

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 11 08:12:13 UTC 2018


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

            Bug ID: 797119
           Summary: gst_video_overlay_set_render_rectangle broken on
                    windows for several sinks
    Classification: Platform
           Product: GStreamer
           Version: 1.14.2
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: don't know
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: pepijndevos at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 373601
  --> https://bugzilla.gnome.org/attachment.cgi?id=373601&action=edit
Screenshot of d3dvideosink behaviour

I'm porting a QtQuick application to Windows.
On Linux we use glimagesink, which is re-parented to the Qt window an has its
render rectangle set to a specific QML rectangle. (It is my understanding that
QtQuick.controls 2 does not use QWidget, so therefore cannot be re-parented to
the rectangle itself)

Initially I used glimagesink on Windows too, but it takes up the full window.
It does not honour the render rectangle at all.
Furthermore, if you resize the window, it freezes after a while.

The only other Windows-specific plugin available on my system is d3dvideosink.
This one respects the rectangle, but the math is bugged.
First it draws a surface at the correct location, but then it renders the video
at the same offset within the rectangle.

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