Video size when using glimagesink
Nicolas Dufresne
nicolas.dufresne at gmail.com
Tue Sep 20 13:31:06 UTC 2016
Le mardi 20 septembre 2016 à 11:23 +0200, Patrick Fü a écrit :
> I'm wondering if there is a way to change the video size when using
> glimagesink.
>
> May pipeline is created with "playbin" and internally it uses
> "qtdemux" and "glimagesink".
>
> The video is smaller then my screensize and I wanna make it
> fullscreen.
> I found the same question on the mailing list without an answer.
>
> Is it even possible ?
Yes. Through the VideoOverlay interface you pass a "native window", if
you resize this window on a supported windowing system, glimagesink
will scale the video maintaining aspect ratio.
Nicolas
More information about the gstreamer-devel
mailing list