Okay, so I suppose the real question now is why I need the gtk.gdk.threads_init().
I was experiencing freezes / crashes when I added the video sink into my DrawingArea, which I believe was due to the issue here: http://sourceforge.net/mailarchive/forum.php?thread_name=1258400785.3124.106.camel%40fancy&forum_name=gstreamer-devel As you can see, the recommended solution there was to use the GDK lock, which obviously conflicts with the solution upstream have supplied. :( Peter 2010/1/5 Josselin Mouette <j...@debian.org> > Le jeudi 31 décembre 2009 à 20:38 +1100, Peter Ward a écrit : > > Package: python-evince > > Version: 2.28.0-5 > > > > I'm trying to write an application which makes use of both gstreamer > > and python-evince - in order to get gstreamer to work properly, I need > > to call gtk.gdk.threads_init() when importing modules. > > This unexpectedly causes problems when using a evince.View widget in > > presentation mode. > > > > I have included below a short program which demonstrates the problem - > > I can reproduce this bug in both my desktop and my laptop. > > > > > > import gtk > > gtk.gdk.threads_init() # commenting out this line makes the problem go > away. > > Could you reply to the upstream bug report at > https://bugzilla.gnome.org/show_bug.cgi?id=606028 ? > Apparently the recommended code is gobject.threads_init() instead, but > I’d like to be sure this solution works for you. > > Cheers, > -- > .''`. Josselin Mouette > : :' : > `. `' “I recommend you to learn English in hope that you in > `- future understand things” -- Jörg Schilling > -- Peter Ward http://identi.ca/flowblok/ http://flowblok.selfip.net:8001/