GLimagesink in a widget

Matthew Waters ystreet00 at gmail.com
Sun Sep 25 01:03:54 UTC 2016


On 23/09/16 14:50, munezbn.dev wrote:
> HI ..
>
> I have Similar requirement with GTK. @OP any luck with above suggestion ?
> Basically i want to embedd glimagesink into GTKDrawable so that i can use
> full-screen video and also key events for play/pause/quit etc. My code works
> fine on host machine for xvimagesink. But same doesnt work on RSPI3.

Unfortunately, Gtk+ on the Raspberry Pi uses X11 (or wayland) where
glimagesink has to use dispmanx for access to OpenGL which are not
compatible.  You can use the gtkglsink element in GStreamer 1.8 which
uses Gtk+'s OpenGL widget in Gtk+ 3.20 to draw instead (at the cost of
software OpenGL rendering), alternatively, gtkglarea in Gtk+ 3.22 can
use GLES although I'm not sure if that's hooked up for the RPi's GLES stack.

Cheers
-Matt

> Thanks & Regards
> Munez

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160925/416e2475/attachment-0001.sig>


More information about the gstreamer-devel mailing list