[Bug 796812] New: SetRenderRectangle bug in d3dvideosink
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Jul 15 00:41:12 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796812
Bug ID: 796812
Summary: SetRenderRectangle bug in d3dvideosink
Classification: Platform
Product: GStreamer
Version: 1.14.1
OS: Windows
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: tomislavtustonic at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 373057
--> https://bugzilla.gnome.org/attachment.cgi?id=373057&action=edit
Gtk on Windows 10
It seems that there's a bug in d3dvideosink when setting render rectangle.
I have modified
https://github.com/GStreamer/gstreamer-sharp/blob/master/samples/BasicTutorial5.cs
to set the render rectangle, like this:
VideoOverlayAdapter adapter = new
VideoOverlayAdapter(overlay.Handle);
adapter.WindowHandle = windowHandle;
adapter.SetRenderRectangle(50, 50, 427, 240);
adapter.HandleEvents(true);
I expected that the video will be rendered in the 427x240 rectangle, at the
position 50,50, but there is a correct rectangle at the position, and video
is moved to the 50,50 inside this rectangle. The same happens in the
WinForms version of the sample.
It looks OK when running on Linux Mint 19.
--
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