GstVideoOverlay SetRenderRectangle question

tom ttustonic at outlook.com
Wed Jul 11 00:12:26 UTC 2018


Nicolas Dufresne-5 wrote
> Le mar. 10 juil. 2018 17:56, tom <

> ttustonic@

> > a écrit :
> 
> 
> Yes and no, if the display sink can scale, the video should be scaled to
> the width/height of the rectangle. If the display can crop, it should
> minimally crop to that rectangle. It seems that these two feature are not
> supported or not implemented.

Thanks for the reply

Hm, from these images it seems that the video is correctly scaled and
cropped to the rectangle, but there is extra 'padding' inside the target
rectangle, the same as the 'margins' outside the target rectangle.
Here's another example, one with smaller rectangle and one without render
rectangle. The scaling and cropping looks fine.

<http://gstreamer-devel.966125.n4.nabble.com/file/t378393/renderrect2.jpg> 

Thanks,
Tom



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list