Commit graph

30 commits

Author SHA1 Message Date
Edward Hervey
20469390bd gst/__init__.py: Make gst-python work on OS without dl.so
Original commit message from CVS:
reviewed by: Edward Hervey <edward@fluendo.com>
* gst/__init__.py:
Make gst-python work on OS without dl.so
Fixes #341799
2006-05-27 12:18:54 +00:00
Andy Wingo
b3fb726a67 configure.ac (PYGST_MICRO_VERSION): Doc fix.
Original commit message from CVS:
2006-04-05  Andy Wingo  <wingo@pobox.com>

* configure.ac (PYGST_MICRO_VERSION): Doc fix.
(PYGST_NANO_VERSION): New define.

* gst/__init__.py (version): Add as an alias for get_gst_version.
Should use the deprecation infrastructure here.

* gst/gst.defs: Add defs for the new wrapped functions.

* gst/gst.override (_wrap_gst_get_pygst_version)
(_wrap_gst_get_gst_version): New overrides, functions to access
the gstreamer and pygst versions. The first used to be called
gst_version(); we ignore gst_version now.
2006-04-05 11:55:48 +00:00
Edward Hervey
b06a9be61e Link against Gst Data protocol libraries.
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
Link against Gst Data protocol libraries.
* gst/__init__.py:
Restore dlopenflags after importing gst.
Closes #329110
2006-01-30 12:57:02 +00:00
Edward Hervey
96256ac65c gst/: Added FractionRange type
Original commit message from CVS:
* gst/pygstvalue.c: (pygst_value_as_pyobject),
(pygst_value_init_for_pyobject), (pygst_value_from_pyobject),
(pygst_value_init):
* gst/__init__.py:
Added FractionRange type
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gst.override:
API updates
2005-11-22 14:15:03 +00:00
Andy Wingo
e1137284ce gst/gstelement.override (_wrap_gst_element_get_state): Drop the python lock while in get_state.
Original commit message from CVS:
2005-10-07  Andy Wingo  <wingo@pobox.com>

* gst/gstelement.override (_wrap_gst_element_get_state): Drop the
python lock while in get_state.

* gst/__init__.py: Check the right module (i.e., the same check as
pygtk does).
2005-10-07 16:48:26 +00:00
Thomas Vander Stichele
acdb03ae74 gst/__init__.py: only pygtk.require if pygtk wasn't imported yet
Original commit message from CVS:

* gst/__init__.py:
only pygtk.require if pygtk wasn't imported yet
2005-10-05 09:02:19 +00:00
Thomas Vander Stichele
2c73056985 gst/__init__.py: don't import gobject revert ltihooks change from Johan - if it throws an exception there is a bug an...
Original commit message from CVS:
* gst/__init__.py:
don't import gobject
revert ltihooks change from Johan - if it throws an exception
there is a bug and I want to fix it
2005-10-05 08:58:00 +00:00
Johan Dahlin
2d13103ff7 Check if ltihooks is present before trying to delete it
Original commit message from CVS:
Check if ltihooks is present before trying to delete it
2005-09-29 01:16:21 +00:00
Thomas Vander Stichele
0ef50e2d9a gst/__init__.py: require pygtk 2.0 when importing gst it only works with 2.0, and it sets up the path correctly when ...
Original commit message from CVS:

* gst/__init__.py:
require pygtk 2.0 when importing gst
it only works with 2.0, and it sets up the path correctly
when running against a pygtk compiled into a different prefix
2005-09-28 07:40:15 +00:00
Thomas Vander Stichele
03203aa89e fix distcheck
Original commit message from CVS:
fix distcheck
2005-09-02 10:56:19 +00:00
Thomas Vander Stichele
7c9e84bc0f don't import ltihooks twice
Original commit message from CVS:
don't import ltihooks twice
2005-09-01 14:24:44 +00:00
Thomas Vander Stichele
b9d59e3e99 gst/__init__.py: del ltihooks properly; fixes loading of testhelper in testsuite
Original commit message from CVS:
* gst/__init__.py:
del ltihooks properly; fixes loading of testhelper in testsuite
* gst/gst.defs:
wrap link_filtered
2005-08-31 15:28:37 +00:00
Edward Hervey
c68afb5f53 Backport from 0.8 branch and added new .defs file from GStreamer 0.9
Original commit message from CVS:
Backport from 0.8 branch and added new .defs file from GStreamer 0.9
2005-06-17 10:59:47 +00:00
Thomas Vander Stichele
828449319c gst/: fix headers
Original commit message from CVS:
2004-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>

* gst/__init__.py:
* gst/gstreamer.py:
* gst/arg-types.py:
fix headers
* gst/gst.override:
change GstPad repr
* gst/ltihooks.py:
fix distcheck for uninstalled by only adding .libs when needed
2004-09-13 07:31:31 +00:00
Johan Dahlin
4e37d3cd9a gst/__init__.py: Use DLFCN instead of dl to help python installations without the dl module (gentoo for instance)
Original commit message from CVS:
* gst/__init__.py: Use DLFCN instead of dl to help python
installations without the dl module (gentoo for instance)
2004-07-15 09:48:22 +00:00
Johan Dahlin
a2d17fd974 gst/__init__.py: Remove pygtk import and import gobject directly. It's up the app to call pygtk.require and no the li...
Original commit message from CVS:
* gst/__init__.py: Remove pygtk import and import gobject
directly. It's up the app to call pygtk.require and no the
library.
2004-05-03 16:51:50 +00:00
Johan Dahlin
d83d73b365 gst/ltihooks.py: New file
Original commit message from CVS:
* gst/ltihooks.py: New file

* gst/__init__.py: try to import ltihooks.py
2004-03-31 14:00:54 +00:00
Johan Dahlin
15f1eb48cf gst/gstmodule.c (init_gst): Add constants for GST_*SECOND.
Original commit message from CVS:
* gst/gstmodule.c (init_gst): Add constants for GST_*SECOND.
(python_do_pending_calls): New idler handler, similar to pygtk, so
python events (eg KeyboardInterrupt) can be raised during mainloop

* gst/gst.override (_wrap_gst_bin_get_list):
(_wrap_gst_pad_tp_repr, caps_length, caps_item)
(structure_length, structure_subscript)
(_wrap_gst_structure_tp_repr): Impl.
(_wrap_gst_main): Override with threading blocking.

* gst/gst-types.defs (Object): add flags field.
(Structure): Add copy/release funcs

* gst/__init__.py (devloc): Don't initialize threads

* gst/Makefile.am: clean up

* examples/gst/player.py: Prettify and simplify. Uses GstThread now.

* examples/gstplay/player.py: Update to new api and make it work.
2004-03-24 10:31:35 +00:00
Johan Dahlin
339261e4e2 gst/gst.defs: Remove unused functions.
Original commit message from CVS:
* gst/gst.defs: Remove unused functions.

* gst/gst.override: Ditto

* gst/__init__.py (devloc): delete dl
2004-03-17 12:27:20 +00:00
Thomas Vander Stichele
b86c702816 make gstreamer python work uninstalled again
Original commit message from CVS:
make gstreamer python work uninstalled again
2004-03-04 11:32:46 +00:00
Johan Dahlin
212df27212 gstreamer/: All over the place, more rename work (gstreamer -> gst)
Original commit message from CVS:
* gstreamer/: All over the place, more rename work (gstreamer -> gst)
2004-02-27 18:32:20 +00:00
Johan Dahlin
ade405ce0f gstreamer/gstreamer.py: Backwards compatibility module
Original commit message from CVS:
2004-02-23  Johan Dahlin  <johan@gnome.org>

* gstreamer/gstreamer.py: Backwards compatibility module

* gstreamer/gstreamermodule.c:
* gstreamer/Makefile.am: Rename the module to gst
2004-02-23 18:19:38 +00:00
David I. Lehn
c71d66dbde gst/: Support GstPlay, bug fixes, updates.
Original commit message from CVS:
* gstinterfaces/.cvsignore:
* gstinterfaces/0.7.defs:
* gstinterfaces/Makefile.am:
* gstinterfaces/common.defs:
* gstinterfaces/common.override:
* gstinterfaces/gstinterfacesmodule.c: (init_gstinterfaces):
* gstplay/.cvsignore:
* gstplay/0.7.c:
* gstplay/0.7.defs:
* gstplay/0.7.h:
* gstplay/0.7.override:
* gstplay/Makefile.am:
* gstplay/__init__.py:
* gstplay/arg-types.py:
* gstplay/common.c:
* gstplay/common.h:
* gstplay/common.override:
* gstplay/gstplaymodule.c: (init_gstplay):
* gstreamer/Makefile.am:
* gstreamer/__init__.py:
* gstreamer/common.override:
Support GstPlay, bug fixes, updates.
* examples/gstplay/player.py:
GstPlay example.
* Makefile.am:
Support GstPlay build.
* configure.ac:
Support GstPlay build, remove AC_SUBST() calls that
PKG_CHECK_MODULES does automagically.
2004-02-03 09:45:42 +00:00
David I. Lehn
b8ec40b07c add threads_init() function
Original commit message from CVS:
add threads_init() function
2003-01-02 09:07:31 +00:00
David I. Lehn
b807857c46 email addr update
Original commit message from CVS:
email addr update
2002-12-17 17:40:42 +00:00
David I. Lehn
6b99320437 add "import pygtk; pygtk.require('2.0')" to force the proper version of pygtk
Original commit message from CVS:
add "import pygtk; pygtk.require('2.0')" to force the proper version of pygtk
2002-11-07 07:31:06 +00:00
David I. Lehn
0b4078eae0 use proper dl module flags
Original commit message from CVS:
use proper dl module flags
2002-04-15 23:48:22 +00:00
David I. Lehn
fac6f91e8d add license headers
Original commit message from CVS:
add license headers
2002-03-24 11:41:24 +00:00
David I. Lehn
be74250a11 add libtool uninstalled lib paths - yuck
Original commit message from CVS:
add libtool uninstalled lib paths - yuck
2002-03-24 07:57:00 +00:00
David I. Lehn
564e342e89 initial python bindings
Original commit message from CVS:
initial python bindings
2002-03-24 04:32:10 +00:00