Bad error message?

Russel Winder russel at winder.org.uk
Sat Mar 19 10:08:40 UTC 2016


On Sat, 2016-03-19 at 11:32 +0200, Sebastian Dröge wrote:
> […]
> The first one is an assertion. Basically the problem here is that
> your
> GTK seems broken: gtk_gl_area_get_context() returns NULL.

Turns out I was running on Wayland when I thought I was running on
XOrg. It is still a bug though.

> If you enable debug logs, you should also see another error right
> before that. Something like "Error creating GdkGLContext".

Exactly what I got with GST_DEBUG=3.

> Instead of an assertion it would of course be better to gracefully
> error out, but it seems like running into this code didn't even seem
> possible during implementation. If you have a GtkGLArea widget, it
> should be able to give you its OpenGL context.

I guess my position is that any system in production that generates an
assertion fail to the user is "broken": production installations should
always fail gracefully. Hence my confidence this is a big of some sort
in GStreamer even if the causation is a bug outside GStreamer.

> Yes, please report this together with at least a debug log with
> GST_DEBUG=6 and ideally also a small application that causes the
> problem for you. Does it work for you with the example gtkglsink
> applications?

Wilco.

I will make sure I try stuff before reporting in so as to give as full
a report as possible.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160319/559186de/attachment.sig>


More information about the gstreamer-devel mailing list