Commit graph

18 commits

Author SHA1 Message Date
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
Brian Warner
ebae649260 gst/gst.override: Apply patch from Brian Warner to throw a link error when element and pad linking fails.
Original commit message from CVS:
* gst/gst.override: Apply patch from Brian Warner to throw a link
error when element and pad linking fails.
2004-11-29 12:14:27 +00:00
Johan Dahlin
b9f4f5e5f7 sink GstObject, much like GtkObject
Original commit message from CVS:
sink GstObject, much like GtkObject
2004-11-23 12:33:58 +00:00
Johan Dahlin
195af7df00 gst/gstmodule.c (init_gst): Reset LC_NUMERIC, since it might change in gst_init_check. Fixes 100% CPU usage in flumot...
Original commit message from CVS:
* gst/gstmodule.c (init_gst): Reset LC_NUMERIC, since it might
change in gst_init_check. Fixes 100% CPU usage in flumotion
when using a non C locale.
2004-11-15 11:51:50 +00:00
Zaheer Abbas Merali
087bae124f gst/gstmodule.c: Make gst-python not hang on import when embedded.
Original commit message from CVS:
2004-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/gstmodule.c: (init_gst):
Make gst-python not hang on import when embedded.
Fixes bug #155041
2004-10-10 20:49:27 +00:00
Thomas Vander Stichele
55a8ec7633 comment
Original commit message from CVS:
comment
2004-09-29 11:37:55 +00:00
Johan Dahlin
f915e8d473 gst/gstmodule.c (python_do_pending_calls): Use
Original commit message from CVS:
* gst/gstmodule.c (python_do_pending_calls): Use
PyOS_InterruptOccurred and only hold the GIL during
PyErr_SetNone. Use _pygst_main_quit to avoid errors/aborts. Also
use the pygtk provided gil macros instead of the python ones.
2004-09-29 11:13:21 +00:00
Johan Dahlin
169626bb24 configure.ac: Require python 2.3
Original commit message from CVS:
* configure.ac: Require python 2.3

* gst/gstmodule.c (python_do_pending_calls): Use PyGILState and
friends here.

* gst/gst.override (_pygst_main_quit, _pygst_main): Use these two
instead of gst_main/gst_main_quit so we can check if we're in a
mainloop or not.
2004-08-03 17:07:38 +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
6e85edcd38 Cleanup, add versioning
Original commit message from CVS:
Cleanup, add versioning
2004-03-08 13:51:02 +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
a37dede09c examples/gstreamer/filesrc.py,player.py: New examples
Original commit message from CVS:
* examples/gstreamer/filesrc.py,player.py: New examples

* gstreamer/gstreamer.override: Add a dict like interface to GstTagList

* gstreamer/gstpad-handlers.override: New file, split out from gstreamer.override

* gstreamer/gst-types.defs: Don't use
gst_buffer_free/gst_data_free, use gst_data_unref instead.

* gstreamer/gst-types.c (PyGstData_to_value): Don't send address here.

* gstreamer/arg-types.py (GstDataPtrArg.write_param): Send the
address to stuff, since we really want to avoid segfaults :)

* gstreamer/0.6.[c,defs,h,override]: Remove, we're focusing on 0.7

* gstreamer/0.7.[c,defs,h,override]: Remove, merge with
gstreamer.*

* gstreamer/Makefile.am: Clean up, remove versioning support.
2004-02-27 18:01:52 +00:00
Johan Dahlin
b27c464e5e gstreamer/: Rename some more things to gst
Original commit message from CVS:
* gstreamer/gstreamer.override:
* gstreamer/gstreamermodule.c: Rename some more things to gst

* gstreamer/arg-types.py: Clean up and add GstData handling

* gstreamer/gstreamer.defs:
* gstreamer/gst-types.defs: Split out types to a separate defs

* gstreamer/gst-types.c: New file to handle custom GstData conversions.
2004-02-25 12:12:58 +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
Thomas Vander Stichele
b77038b9f2 app.py --help works, whee !
Original commit message from CVS:
app.py --help works, whee !
2003-10-04 22:49:37 +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
65e6677541 strip GST_ off consts
Original commit message from CVS:
strip GST_ off consts
2002-03-24 07:58:03 +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