Commit graph

23 commits

Author SHA1 Message Date
Edward Hervey
7ef06cab13 gst/: Adding new API additions
Original commit message from CVS:
* gst/base.defs:
* gst/gst.defs:
* gst/interfaces.defs:
* gst/libs.defs:
* gst/gst.override:
* gst/gstmodule.c: (init_gst):
Adding new API additions
* gst/gstmessage.override:
wrap GstMessage.parse_buffering.
* gst/interfaces.override:
wrap gst_mixer_message_parse_*() functions.
wrap GstVideoOrientation::get_*() methods.
2007-07-28 14:26:54 +00:00
Edward Hervey
14fbeaf8f9 gst/interfaces.override: Add more threadsafety in the overrides.
Original commit message from CVS:
* gst/interfaces.override:
Add more threadsafety in the overrides.
2007-07-28 13:41:22 +00:00
Jan Schmidt
c0f3f0d55f gst/: Fix the build for x86_64 when compiling against Python 2.5.
Original commit message from CVS:
* gst/common.h:
* gst/gst.override:
* gst/gstbuffer.override:
* gst/gstcaps.override:
* gst/gststructure.override:
* gst/gsttaglist.override:
* gst/interfaces.override:
Fix the build for x86_64 when compiling against Python 2.5.
Keeps backwards compatibility with Python 2.4. Tested on Ubuntu
Edgy 32-bit with python 2.4 & Feisty 64-bit with Python 2.4 & 2.5
Fixes #415003.
2007-04-04 12:22:03 +00:00
Edward Hervey
935a94da54 gst/interfaces.override: Gracefully handle the case where gst_property_probe_get_values_name() returns NULL.
Original commit message from CVS:
* gst/interfaces.override:
Gracefully handle the case where gst_property_probe_get_values_name()
returns NULL.
2007-02-04 10:44:40 +00:00
Edward Hervey
04a182516c Fully implement GstPropertyProbe interface, with unit test.
Original commit message from CVS:
reviewed by: Edward Hervey  <edward@fluendo.com>
* gst/interfaces.defs:
* gst/interfaces.override:
* testsuite/test_interface.py:
Fully implement GstPropertyProbe interface, with unit test.
Fixes #376996
2007-02-04 10:23:38 +00:00
Edward Hervey
468e10172a codegen/codegen.py: Don't register interface if it is ignored
Original commit message from CVS:
* codegen/codegen.py:
Don't register interface if it is ignored
* configure.ac:
GST_PB_MINOR_VERSION doesn't appear by magic, you actually have to
parse it from pkg-config !
* gst/gst-pb-0.10.11.ignore:
Ignore GstVideoOrientation type altogether.
* gst/interfaces.override:
Include gstversion.override so that non-existent API is properly ignored.
Should fix #401051 once and for good now.
2007-01-29 12:27:46 +00:00
Edward Hervey
7fa0fd6ce0 configure.ac: Check for availability of video-orientation interface
Original commit message from CVS:
* configure.ac:
Check for availability of video-orientation interface
* gst/gst.override:
don't forget to increment the refcount of Py_None before returning it.
* gst/interfaces.override:
If video-orientation interface isn't available, don't include the
header.
2007-01-29 11:16:35 +00:00
Thomas Vander Stichele
7a27ebbd79 wrap mixer set_volume, use tuple to match get_volume
Original commit message from CVS:
* examples/mixer.py:
* gst/interfaces.override:
wrap mixer set_volume, use tuple to match get_volume
2007-01-17 11:22:04 +00:00
Thomas Vander Stichele
7e94773d0f gst/interfaces.*: wrap mixer get_volume
Original commit message from CVS:
* gst/interfaces.defs:
* gst/interfaces.override:
wrap mixer get_volume
* examples/Makefile.am:
* examples/mixer.py:
add an example using it
2007-01-17 06:27:38 +00:00
Thomas Vander Stichele
2b4ab44e91 configure.ac: check for stuff added in gst-pb 0.10.11
Original commit message from CVS:
* configure.ac:
check for stuff added in gst-pb 0.10.11
* gst/Makefile.am:
* gst/interfaces.defs:
* gst/interfaces.override:
add video orientation interface
2007-01-17 04:40:33 +00:00
Edward Hervey
1c5a18e82c Removal of all glib < 2.8 cruft since GStreamer core now requires glib >= 2.8
Original commit message from CVS:
Removal of all glib < 2.8 cruft since GStreamer core now requires
glib >= 2.8
* codegen/argtypes.py:
remove gstobject cruft from ObjectArg
* configure.ac:
Require glib >= 2.8.0
* gst/Makefile.am:
* gst/pygstobject.c:
* gst/pygstobject.h:
Remove pygstobject.[ch]
* gst/common.h:
Don't include removed header file.
* gst/gst.override:
* gst/gstbin.override:
* gst/gstbus.override:
* gst/gstelement.override:
* gst/gstelementfactory.override:
* gst/gstmessage.override:
* gst/gstobject.override:
* gst/gstpad.override:
* gst/interfaces.override:
* gst/pygstiterator.c: (pygst_iterator_iter_next):
Switch from using pygstobject* functions to using pygobject* functions.
* gst/gstmodule.c: (sink_gstobject), (init_gst):
Move GstObject sink function here and use standard gobject refcounting.
2006-07-02 15:25:04 +00:00
Edward Hervey
3ef436193d gst/gst.defs: gst_object_sink is a method of GstObject const of enums is a stupidity (_element_make_from_uri)
Original commit message from CVS:
* gst/gst.defs:
gst_object_sink is a method of GstObject
const of enums is a stupidity (_element_make_from_uri)
* gst/gst.override:
Ignore more functions that have no place in bindings or have better
python equivalents (list filtering for example)
Wrapped gst_version() and gst_type_find_factory_get_list()
* gst/gststructure.override:
More ignores
* gst/gsttaglist.override:
ignore gst_is_tag_list.
* gst/interfaces.override:
wrap gst_mixer_options_get_values()
2005-12-18 17:20:12 +00:00
Thomas Vander Stichele
5768672390 gst/: add/move some code to handle wrapping/refcounting of possible
Original commit message from CVS:
* gst/Makefile.am:
* gst/common.h:
* gst/pygstobject.c: (pygstobject_sink), (pygstobject_new),
(pygst_object_unref):
* gst/pygstobject.h:
* gst/gstmodule.c: (init_gst):
add/move some code to handle wrapping/refcounting of possible
GstObject
* codegen/argtypes.py:
* gst/gstbin.override:
* gst/gstbus.override:
* gst/gstelement.override:
* gst/gstpad.override:
* gst/interfaces.override:
use this reffing code
* gst/gst-types.defs:
* gst/gst.override:
add a __gstrefcount__ field to GstObject types
add tp_traverse, tp_dealloc and tp_clear, so we handle refcounting
properly related to garbage collection
* testsuite/test_element.py:
* testsuite/test_pad.py:
add more tests, add some refcount checks
2005-09-28 12:17:29 +00:00
Andy Wingo
08c7b1a588 gst/interfaces.override (_wrap_gst_tuner_list_channels) (_wrap_gst_tuner_list_norms, _wrap_gst_mixer_list_tracks)
Original commit message from CVS:
2005-08-19  Andy Wingo  <wingo@pobox.com>

* gst/interfaces.override (_wrap_gst_tuner_list_channels)
(_wrap_gst_tuner_list_norms, _wrap_gst_mixer_list_tracks)
(_wrap_gst_color_balance_list_channels): Catch programming errors
without segfaults, as glib would do.
2005-08-19 14:46:05 +00:00
Edward Hervey
b32dc34bfc It seems that, somewhere along the way, I forgot to make sure interfaces were binded too :)
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/interfaces.defs:
* gst/interfaces.override:
* gst/xoverlay.override:
It seems that, somewhere along the way, I forgot to make sure interfaces
were binded too :)
2005-07-23 14:54:02 +00:00
Zaheer Abbas Merali
5f899b1b02 gst/interfaces.*: Apply patch from Zaheer Abbas Merali to implement this method. Not that it's not .list_channels() d...
Original commit message from CVS:
* gst/interfaces.defs:
* gst/interfaces.override (_wrap_gst_color_balance_list_channels):
Apply patch from Zaheer Abbas Merali to implement this method. Not
that it's not .list_channels() due to conflict with a method of
the same name in the GstTuner interface
2004-11-29 12:25:56 +00:00
Johan Dahlin
f101cbf97c redefine broken implement casting macros to something saner
Original commit message from CVS:
redefine broken implement casting macros to something saner
2004-11-25 14:30:24 +00:00
Johan Dahlin
9fcba18fa9 gst/interfaces.override (_wrap_gst_mixer_list_tracks): Impl.
Original commit message from CVS:
* gst/interfaces.override (_wrap_gst_mixer_list_tracks): Impl.
(_wrap_gst_tuner_list_norms, _wrap_gst_tuner_list_channels): Plug
leaks.
2004-11-04 10:44:28 +00:00
Johan Dahlin
582e7e6624 gst/interfaces.override (_wrap_gst_tuner_list_norms)
Original commit message from CVS:
* gst/interfaces.override (_wrap_gst_tuner_list_norms)
(_wrap_gst_tuner_list_channels): Impl.
2004-08-12 17:05:33 +00:00
Johan Dahlin
f63c95390b codegen/codegen.py: Resync (add support for tp_as_buffer)
Original commit message from CVS:
* codegen/codegen.py: Resync (add support for tp_as_buffer)

* gst/gst.override: Support buffer interface for GstBuffer. Move
stuff into common.h, fix wrapping for
gst_pad_template_get_caps_by_name
2004-05-03 09:10:26 +00:00
Johan Dahlin
90579783ce configure.ac (PYGTK_CODEGEN): Use built in code generator again and don't require 2.3.91, 2.0.0 should do fine (FC1 o...
Original commit message from CVS:
* configure.ac (PYGTK_CODEGEN): Use built in code generator again
and don't require 2.3.91, 2.0.0 should do fine (FC1 ok, RH9 isn't)

* TODO: Update

* gst/interfaces.override, gst/play.override: Add typedef for
python < 2.3

* codegen/codegen.py: Readd :/
2004-04-16 16:53:29 +00:00
Johan Dahlin
31d29bd63a gst/Makefile.am: Move the gstplay bindings over here
Original commit message from CVS:
* gst/Makefile.am: Move the gstplay bindings over here

* Makefile.am, configure.ac: Remove examples/ and put them in
EXTRA_DIST here
2004-03-16 18:42:00 +00:00
Johan Dahlin
5e7dffcf4d gst/*: Move interfaces over here, make it build, remove gstreamer.py
Original commit message from CVS:
* gst/*: Move interfaces over here, make it build, remove gstreamer.py
2004-03-15 14:25:10 +00:00