Commit graph

17 commits

Author SHA1 Message Date
David Hoyt
dc5d2e6167 plugin: Fix build on MSVC
Fixes #633141
2010-10-27 16:59:08 +02:00
Leo Singer
2c31e12c5e plugin: fix spurious exceptions in pygst_require. Fixes #624592. 2010-08-30 11:57:07 +02:00
Leo Singer
01dda89d42 plugin: refresh the plugin registry when plugins change. 2010-08-30 11:52:58 +02:00
Alessandro Decina
ca020b3dd7 plugin: call pygtk.require("2.0") before importing pygobject. Fixes #623105.
Based on a patch from Leo Singer.
2010-08-27 13:20:24 +02:00
Alessandro Decina
da958ac00b plugin: remove an unneeded PyType_Check call. Makes it work on centos for real. 2010-08-27 01:16:43 +02:00
Alessandro Decina
05a4a8e60b plugin: declare _PyGstElement_Type as void*.
Declaring _PyGstElement_Type as PyTypeObject makes the loader on centos fail
because of a missing symbol.
2010-08-26 23:34:04 +02:00
Alessandro Decina
e564f783ca Make the plugin loader work on OSX with the standard python install. 2010-08-26 17:14:32 +02:00
Alessandro Decina
53e5a77f52 plugin: don't link to libpython 2010-08-26 12:15:19 +02:00
Alessandro Decina
c5b2a96bc9 plugin: refactor the initialization code.
Remove references to global python objects from the initialization code. This
makes it possible to avoid linking to libpython.
2010-08-26 12:15:19 +02:00
Alessandro Decina
8b02893346 plugin: check for _Py_NoneStruct instead of Py_None.
When checking if CPython is already loaded, don't check for Py_None which is a
macro but use _Py_NoneStruct which is a real symbol.
2010-08-25 11:08:15 +02:00
Edward Hervey
3ae49e9d61 gstpythonplugin: Don't use pyg_gil_* in pure python. Fixes #583378
At this point, pygobject wasn't loaded yet ... cause pyg_gil_state_ensured
to not be initialized to the proper method.
2009-05-22 12:06:49 +02:00
Edward Hervey
7120588675 gstpythonplugin: Use strcmp for old glib. Fixes #579383 2009-04-18 09:05:54 +02:00
Edward Hervey
bbedab4e65 registry: fix deadlock with recursive registry scanning.
The way to properly fix this issue was in fact to disable the registry
scanning when we import gst from the python plugin loader since...
we are 100% guaranteed this is being called from a registry scan :)
2009-04-12 21:27:33 +02:00
Edward Hervey
6d6781e01f plugin: Don't import modules that were already imported.
This avoids warnings for the cases where pygst.require() was already
called.
2009-02-27 12:29:04 +01:00
Edward Hervey
c4d785bc7b Plugin Loader: Don't register non-gstElement subclasses 2009-02-20 10:19:47 +01:00
Edward Hervey
4d016c78f8 plugin/Makefile.am : Remove commented lines 2009-02-09 14:02:41 +01:00
Edward Hervey
9a5a1e8e7e Python plugin loader implementation.
Fixes #304361.
2009-02-09 14:02:34 +01:00