As mentioned at <http://bugzilla.gnome.org/show_bug.cgi?id=510547>, VideoSinkGStreamer.cpp's use of GST_PLUGIN_DEFINE_STATIC results in a global constructor being created that calls g_thread_init() before Epiphany's main() is entered. This results in a nasty diagnostic being emitted when Epiphany goes on to call g_thread_init() itself. In general we need to avoid these sorts of constructors as they add to startup time of applications linking against WebKit, and introduce memory footprint which may not be used until much later. In this instance the side-effect is more severe, but we should keep an eye out for other subtler instances of this problem.
Created attachment 18559 [details] Fix GST_PLUGIN_DEFINE_STATIC isn't needed at all.
Comment on attachment 18559 [details] Fix r=me
Landed in r29675/r29676.