[gst-devel] OpenGL context: GTK X overlay v/s SDL v/s Clutter v/s Wx

Filippo Argiolas filippo.argiolas at gmail.com
Wed Apr 21 20:26:36 CEST 2010


On Wed, Apr 21, 2010 at 6:20 PM, Alexandre Quessy <alexandre at quessy.net> wrote:
>> If I recall correctly those examples were never updated after gtk
>> moved to client-side-windows.
>> With that gtk+ changes you can never be sure that a gdkwindow is bound
>> to a X11 handle unless you call gdk_window_ensure_native().
>> That's most probably the reason for the errors you are getting, it
>> doesn't have anything to do with opengl.
>
> It seems like this is the reason to my problems. I would have saved a
> few weeks if they had been updated... Anyways, thanks for telling us!

I'm truly sorry if this caused you such problems. We, in gst-gl,
discussed about it for a while, there is also an open bug in bugzilla
with the reasons of the issues you were seeing and the proper way to
solve it. Somehow this went out of my radar and no one else bothered
to fix it.
Anyway it's not like gst-gl is actively maintained and constantly
updated, it's a bit more than an experiment and you shouldn't really
count on its code as the state of art way of implementing things.
GstXOverlay docs is the correct source of information to look at, it's
updated and contains detailed sample code to start from.

> Maybe someone should fix the GTK examples?

It's on my TODO list now, but don't count on me doing it anytime soon.
If you want to provide a patch I'll be glad to review it ;)

Sorry again,
Regards,

Filippo




More information about the gstreamer-devel mailing list