d3dvideosink: SetRenderRectangle bug
Submitted by tom..@..il.com
Created attachment 373057
Gtk on Windows 10
It seems that there's a bug in d3dvideosink when setting render rectangle.
I have modified
to set the render rectangle, like this:
VideoOverlayAdapter adapter = new
adapter.WindowHandle = windowHandle;
adapter.SetRenderRectangle(50, 50, 427, 240);
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.