filesrc.py: Call gobject.threads_init() in the example
authorJan Schmidt <thaytan@noraisin.net>
Tue, 26 Oct 2010 16:53:42 +0000 (17:53 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Wed, 27 Oct 2010 08:46:06 +0000 (09:46 +0100)
Fixes: #633033

examples/filesrc.py

index 2ce0266..f7823e0 100755 (executable)
@@ -24,7 +24,7 @@
 # Boston, MA 02111-1307, USA.
 
 import sys
-import gobject
+import gobject; gobject.threads_init()
 import pygst
 pygst.require('0.10')
 import gst