GNOME Bugzilla – Bug 684335
empathy links to gstreamer and webkit
Last modified: 2012-09-19 07:47:30 UTC
And webkit links to gstreamer too, but empathy uses GStreamer 1.0, while Webkit uses 0.10 by default. They can't be used together since they use the same GType names and C symbols. The result is this: (empathy:15440): GLib-GObject-WARNING **: specified class size for type `WebKitWebSrc' is smaller than the parent type's `GstBin' class size (empathy:15440): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed (empathy:15440): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (empathy:15440): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed (It could be worse, I did not test calls. Since this is the default jhbuild configuration, I think it is worth adding a configuration or runtime warning, so people switch empathy to 0.10 or webkit to 1.0.
WebKit has to be build with --with-gstreamer=1.0 Empathy has no way to check that. Re-assigning to jhbuild as it should be coherent with the gst flags it passes to modules.
Updated jhbuild to force --with-gstreamer=1.0 on webkitgtk; do note this won't help people mixing jhbuild and a their distro webkit package. commit 1b9d9bc71a274e87d04d25c9f93b9abf60ddf11b Author: Frédéric Péters <fpeters@0d.be> Date: Wed Sep 19 09:44:19 2012 +0200 3.6: force webkitgtk to be built against GStreamer 1.0 https://bugzilla.gnome.org/show_bug.cgi?id=684335