examples/gstfile.py: Threaded application, we NEED gobject.threads_init().

Original commit message from CVS:
* examples/gstfile.py:
Threaded application, we NEED gobject.threads_init().
This should finally gets rid of the crashes when used on single files.
* gst/extend/discoverer.py:
Re-order the imports.
This commit is contained in:
Edward Hervey 2006-04-29 16:59:16 +00:00
parent 0d89737bf7
commit 4ec7c5c5d8
4 changed files with 19 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2006-04-29 Edward Hervey <edward@fluendo.com>
* examples/gstfile.py:
Threaded application, we NEED gobject.threads_init().
This should finally gets rid of the crashes when used on single files.
* gst/extend/discoverer.py:
Re-order the imports.
2006-04-28 Edward Hervey <edward@fluendo.com> 2006-04-28 Edward Hervey <edward@fluendo.com>
* gst/arg-types.py: * gst/arg-types.py:

2
common

@ -1 +1 @@
Subproject commit a6710e67fd82147e32a18f1b63177583faffd498 Subproject commit 6b67aa6dd111fb139e1be0f6a386e3ff84cce091

View file

@ -15,6 +15,7 @@ import os
import sys import sys
import gobject import gobject
gobject.threads_init()
import pygst import pygst
pygst.require('0.10') pygst.require('0.10')

View file

@ -24,9 +24,16 @@
Class and functions for getting multimedia information about files Class and functions for getting multimedia information about files
""" """
import gst
import gobject
import os.path import os.path
import pygtk
pygtk.require('2.0')
import gobject
import pygst
pygst.require('0.10')
import gst
from gst.extend.pygobject import gsignal from gst.extend.pygobject import gsignal
class Discoverer(gst.Pipeline): class Discoverer(gst.Pipeline):