glimagesink resizing/reposition option

psiva87 psiva87 at gmail.com
Fri Jun 23 05:43:00 UTC 2017


Nicolas Dufresne-5 wrote
> Le vendredi 09 juin 2017 à 03:12 -0700, psiva87 a écrit :
>> I'm using glimagesink as video sink on 96boards with wayland. Video
>> is
>> always rendered 320x240 from top-left side. glimagesink resizes the
>> video
>> decoder output to 320x240. How can I make glimagesink to play the
>> original
>> resolution of the video?
> 
> Same as for an X11 application. Create a wayland application, pass the
> window handle to glimagesink. Resizing the window is then done by your
> application embedding glimagesink. The following is few example using
> GTK toolkit to retrieve the GLContext and Window handle. It's comes
> with a small adapter that make it work on X11, OSX and Wayland.
> 
> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/gl/gtk
> 
> Nicolas
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
> signature.asc (188 bytes)
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4683274/0/signature.asc>

Thanks Nicolas for the insights. So if I pass the window handle to
glimagesink, my application will be to control the sizing



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/glimagesink-resizing-reposition-option-tp4683266p4683511.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list