Commit graph

576 commits

Author SHA1 Message Date
Edward Hervey
ad201dca69 Ignore new auto-generated .c files 2009-01-30 08:59:07 +01:00
Edward Hervey
3b6ab11761 Raise an Exception when wrapping a NULL GstIterator.
Original commit message from CVS:
* gst/pygstiterator.c: (pygst_iterator_new):
* testsuite/test_iterator.py:
Raise an Exception when wrapping a NULL GstIterator.
Fixes #566903
2009-01-08 12:25:26 +00:00
Vincent GENIEUX
405b07512a gst/gststructure.override: Don't leak key names in _wrap_gst_structure_keys.
Original commit message from CVS:
patch by: Vincent GENIEUX <mutex at runbox dot com>
* gst/gststructure.override:
Don't leak key names in _wrap_gst_structure_keys.
2009-01-05 11:05:32 +00:00
Edward Hervey
0cfca146c5 gst/: Wrap more GstIndexEntry methods and properties.
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gst.override:
Wrap more GstIndexEntry methods and properties.
2009-01-02 21:46:30 +00:00
Edward Hervey
4e04dc11c8 Wrap gst-plugins-base's tag helper library.
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/tag.defs:
* gst/tag.override:
* gst/tagmodule.c: (inittag):
Wrap gst-plugins-base's tag helper library.
Partially fixes #565762
2008-12-31 13:32:58 +00:00
Edward Hervey
8aa05d4cd7 Wrap gst-plugins-base's video helper library.
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/video.defs:
* gst/video.override:
* gst/videomodule.c: (initvideo):
Wrap gst-plugins-base's video helper library.
Partially fixes #565762
2008-12-31 13:06:58 +00:00
Edward Hervey
2b32341a3a Wrap gst-plugins-base's audio helper library.
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/audio.defs:
* gst/audio.override:
* gst/audiomodule.c: (initaudio):
Wrap gst-plugins-base's audio helper library.
Partially fixes #565762
2008-12-31 12:01:02 +00:00
Edward Hervey
e9d605a75c Updated core API additions
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.20.ignore:
* gst/gst-0.10.22.ignore:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gstversion.override.in:
Updated core API additions
2008-12-30 19:20:31 +00:00
Alessandro Decina
fcf0d4fa2c gst/__init__.py: Add gst.Fourcc.__eq__ and gst.Fourcc.__ne__.
Original commit message from CVS:
* gst/__init__.py:
Add gst.Fourcc.__eq__ and gst.Fourcc.__ne__.
2008-12-09 14:30:43 +00:00
Edward Hervey
e29018175a gst/Makefile.am: Don't forget to dist/install gst-0.10.21.ignore
Original commit message from CVS:
* gst/Makefile.am:
Don't forget to dist/install gst-0.10.21.ignore
2008-12-09 11:48:15 +00:00
Vincent Genieux
e6cd027e1a gst/arg-types.py: Fix memory leak for GstMiniObjects used as parameters in class method overrides.
Original commit message from CVS:
Patch by : Vincent Genieux <mutex at runbox dot com>
* gst/arg-types.py:
Fix memory leak for GstMiniObjects used as parameters in class method
overrides.
Fixes #543961
2008-12-09 10:16:08 +00:00
Edward Hervey
75bd1f6f6d gst/gstpad.override: Fix memory leak for functions that return a newly created buffer as a function argument.
Original commit message from CVS:
* gst/gstpad.override:
Fix memory leak for functions that return a newly created buffer as
a function argument.
Fixes #554545
2008-12-06 15:52:31 +00:00
Edward Hervey
7a2babed30 codegen/argtypes.py: Add handling of 'keep-refcount' for GBoxed arguments.
Original commit message from CVS:
* codegen/argtypes.py:
Add handling of 'keep-refcount' for GBoxed arguments.
* gst/gst.defs:
Mark the appropriate 'gst_message_new_*' arguments when the method
takes the ownership of the passed gst.Structure/gst.TagList
* testsuite/test_message.py:
Test for creating messages that take a gst.Structure/gst.TagList as
argument and make sure they're properly created.
Fixes #556054
2008-12-06 15:41:41 +00:00
Thomas Vander Stichele
36fff62027 pep-8 cleanups
Original commit message from CVS:
pep-8 cleanups
2008-11-23 12:31:42 +00:00
Alessandro Decina
47a3d6fd28 Wrap gst_type_find_peek.
Original commit message from CVS:
* gst/gst.override:
* testsuite/test_typefind.py:
Wrap gst_type_find_peek.
2008-11-19 16:54:58 +00:00
Alessandro Decina
74a5097ae0 gst/: Add GstBaseTransform::transform_size virtual.
Original commit message from CVS:
* gst/base.defs:
* gst/gstbase.override:
Add GstBaseTransform::transform_size virtual.
2008-11-08 12:16:31 +00:00
Alessandro Decina
e9bf8a0868 gst/__init__.py: Fix on systems that don't have dlopen or don't support RTLD_GLOBAL and
Original commit message from CVS:
reviewed by: Edward Hervey <edward.hervey@collabora.co.uk>
* gst/__init__.py:
Fix on systems that don't have dlopen or don't support RTLD_GLOBAL and
RTLD_LAZY.
2008-11-08 11:49:30 +00:00
Jan Schmidt
d5c7296122 gst/gst.override: Fix compiler warning about missing format string.
Original commit message from CVS:
* gst/gst.override:
Fix compiler warning about missing format string.
2008-11-07 22:29:06 +00:00
Thiemo Seufer
f03c4cc922 gst/__init__.py: Use correct values for RTLD_GLOBAL and RTLD_LAZY on Linux/MIPS as the values are different there fro...
Original commit message from CVS:
Patch by: Thiemo Seufer <ths at networkno dot de>
* gst/__init__.py:
Use correct values for RTLD_GLOBAL and RTLD_LAZY on Linux/MIPS
as the values are different there from all other Linux platforms.
Fixes bug #553134.
2008-10-05 08:16:38 +00:00
Alexander Wirt
9fc25718b5 gst/__init__.py: Import modules in the correct order, i.e. libxml2 before
Original commit message from CVS:
Patch by: Alexander Wirt <formorer at debian dot org>
* gst/__init__.py:
Import modules in the correct order, i.e. libxml2 before
GStreamer stuff, to prevent unresolved symbols. Fixes bug #553131.
2008-10-05 08:14:42 +00:00
Edward Hervey
490f3fde52 Add API additions for upcoming 0.10.21 core release
Original commit message from CVS:
* configure.ac:
* gst/base.defs:
* gst/gst-0.10.21.ignore:
* gst/gst.defs:
* gst/gstversion.override.in:
Add API additions for upcoming 0.10.21 core release
2008-09-09 10:41:27 +00:00
Edward Hervey
3b20dd082d gst/gstcaps.override: Override gst_caps_append_structure() and make a copy of the structure given as argument.
Original commit message from CVS:
* gst/gstcaps.override:
Override gst_caps_append_structure() and make a copy of the structure
given as argument.
Fixes #549450
2008-08-26 15:58:15 +00:00
Edward Hervey
d17feec22d gst/: Add gstdebugutils.[ch] methods that weren't wrapped previously.
Original commit message from CVS:
* gst/gst-0.10.15.ignore:
* gst/gst-types.defs:
* gst/gst.defs:
Add gstdebugutils.[ch] methods that weren't wrapped previously.
We can now dump pipeline graphviz files from python ! :)
2008-08-11 16:40:45 +00:00
Edward Hervey
8c5646ea9e update upstream API changes
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/base.defs:
* gst/gst-0.10.18.ignore:
* gst/gst-0.10.20.ignore:
* gst/gst-pb-0.10.18.ignore:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gstversion.override.in:
* gst/interfaces.defs:
update upstream API changes
2008-07-02 11:23:39 +00:00
Jan Schmidt
468cb05597 gst/gstbuffer.override: the GstBuffer overrides seem to be confused about whether they're mini-objects or a GBoxed, a...
Original commit message from CVS:
* gst/gstbuffer.override:
the GstBuffer overrides seem to be confused about whether they're
mini-objects or a GBoxed, and it makes copy_on_write no actually
return a usable gst.Buffer. Fix up places where GstBuffers are
treated as GBoxed to use pygstminiobject functions.
Makes gst.Buffer('blah').copy_on_write() work.
* testsuite/test_buffer.py:
Add test for copy-on-write writability
* examples/buffer-draw.py:
Add an example of drawing on a GStreamer buffer with cairo
* gst/gstpad.override:
Make function static
2008-06-27 08:39:37 +00:00
Edward Hervey
103e13fa66 gst/: Fix double-import issues on macosx.
Original commit message from CVS:
* gst/common.h:
* gst/gstmodule.c:
* gst/interfaces.override:
* gst/pbutils.override:
* gst/pygstiterator.c:
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
Fix double-import issues on macosx.
Fixes #461838
2008-06-26 14:57:29 +00:00
Edward Hervey
4e33f9fdcc gst/gstmodule.c: Return None if GstMiniObject GValue doesn't contain anything (NULL).
Original commit message from CVS:
* gst/gstmodule.c: (pygstminiobject_from_gvalue):
Return None if GstMiniObject GValue doesn't contain anything (NULL).
Fixes #540221
2008-06-26 09:14:51 +00:00
Edward Hervey
6c881f6ab6 Re-opens #530417
Original commit message from CVS:
* gst/__init__.py:
* gst/gstelement.override:
* testsuite/test_element.py:
Revert 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
Re-opens #530417
2008-06-13 11:11:38 +00:00
Edward Hervey
7e06ad12c6 Re-opens #514717
Original commit message from CVS:
* gst/gstpad.override:
* testsuite/test_pad.py:
Revert 2008-02-10  Alessandro Decina  <alessandro@nnva.org>
Re-opens #514717
2008-06-12 11:11:49 +00:00
Edward Hervey
a70c226dc3 gst/gstevent.override: gst_event_new_tag takes ownership of the GstTagList given as argument, therefore make a copy b...
Original commit message from CVS:
* gst/gstevent.override:
gst_event_new_tag takes ownership of the GstTagList given
as argument, therefore make a copy before calling the
C function.
Fixes #534888
2008-05-26 10:20:06 +00:00
Edward Hervey
cf22542b26 gst/extend/discoverer.py: Add timeout property.
Original commit message from CVS:
* gst/extend/discoverer.py:
Add timeout property.
Fix typos.
Beautify debugging.
Fix email.
2008-05-17 13:13:05 +00:00
Jan Schmidt
8fef95c5c2 gst/__init__.py: Make gst.Fraction simplify like the C counterpart
Original commit message from CVS:
Patch by: Jan Schmidt <thaytan at mad dot scientist dot com>
* gst/__init__.py:
Make gst.Fraction simplify like the C counterpart
Fixes #532809
2008-05-14 16:00:39 +00:00
Edward Hervey
e94ff65809 gst/gstcaps.override: Fix typo
Original commit message from CVS:
* gst/gstcaps.override:
Fix typo
2008-05-14 15:48:18 +00:00
Johan Dahlin
98d6484e8c New 'fancy' constructor for gst.Element, allows creating elements in a more pythonic way (i.e. myelement = gst.Elemen...
Original commit message from CVS:
Patch by: Johan Dahlin  <johan at gnome dot org>
* gst/__init__.py:
* gst/gstelement.override:
* testsuite/test_element.py:
New 'fancy' constructor for gst.Element, allows creating elements in a
more pythonic way (i.e. myelement = gst.Element("oggmux")).
Fixes #530417
2008-05-08 14:06:45 +00:00
Edward Hervey
5119268c19 gst/: Fix broken indentation
Original commit message from CVS:
* gst/__init__.py:
* gst/arg-types.py:
Fix broken indentation
Fixes #531697
2008-05-08 14:03:17 +00:00
Edward Hervey
d61ee05178 gst/: Use G_GSSIZE_FORMAT for ssize_t types.
Original commit message from CVS:
* gst/gst.override:
* gst/gstbuffer.override:
Use G_GSSIZE_FORMAT for ssize_t types.
Fixes build on macosx.
2008-05-08 10:59:48 +00:00
Alessandro Decina
4dd104c632 gst/gst.override: Add wrapping of gst_type_find_register.
Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* gst/gst.override:
Add wrapping of gst_type_find_register.
Fixes #529728
2008-04-28 10:49:03 +00:00
Alessandro Decina
0574bbf304 gst/gstelementfactory.override: Release GIL in gst_element_factory_overrides.
Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* gst/gstelementfactory.override:
Release GIL in gst_element_factory_overrides.
Fixes #529731
2008-04-28 10:36:10 +00:00
Rene Stadler
62bb670b67 gst/gst.override: Don't crash by unreffing NULL when calling the do_get_protocols_full method raises an exception.
Original commit message from CVS:
* gst/gst.override:
(_wrap_GstURIHandler__proxy_do_get_protocols_full):
Don't crash by unreffing NULL when calling the
do_get_protocols_full method raises an exception.
2008-02-29 12:37:43 +00:00
Edward Hervey
c68b638588 Fix memleak in gst.Pad.set_blocked_async()
Original commit message from CVS:
reviewed by: Edward Hervey  <edward.hervey@collabora.co.uk>
* gst/gstpad.override:
* testsuite/test_pad.py:
Fix memleak in gst.Pad.set_blocked_async()
Fixes #514717
2008-02-10 13:33:26 +00:00
Edward Hervey
23379fcd1c gst/gstpad.override: Wrap gst.Pad.start_task().
Original commit message from CVS:
* gst/gstpad.override:
Wrap gst.Pad.start_task().
2008-02-10 13:30:11 +00:00
Edward Hervey
c82ff829e2 gst/base.defs: gst_adapter_push steals the refcount.
Original commit message from CVS:
* gst/base.defs:
gst_adapter_push steals the refcount.
2008-02-08 08:37:36 +00:00
Jan Schmidt
a50f4736b8 gst/.cvsignore: Ignore generated pbutils.c
Original commit message from CVS:
* gst/.cvsignore:
Ignore generated pbutils.c
* gst/gst.override:
Fix compiler warning about the return type.
2008-01-31 14:14:50 +00:00
Edward Hervey
e97c51a473 gst/gstmodule.c: Remove do_pending_calls timeout which has been handled more gracefully in pygobject MainLoop for the...
Original commit message from CVS:
* gst/gstmodule.c: (init_gst):
Remove do_pending_calls timeout which has been handled more gracefully
in pygobject MainLoop for the past 3 years.
Fixes #512916
2008-01-30 12:36:06 +00:00
Jan Schmidt
9d3bfa8fdf gst/pbutils.override: Fix compilation against Python 2.4.
Original commit message from CVS:
* gst/pbutils.override:
Fix compilation against Python 2.4.
Fixes: #509522
2008-01-15 11:41:51 +00:00
Edward Hervey
7b27608a71 Series of update for new API added to 0.10.16.
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/base.defs:
* gst/gst-0.10.15.ignore:
* gst/gst-0.10.16.ignore:
* gst/gst-pb-0.10.15.ignore:
* gst/gst-pb-0.10.16.ignore:
* gst/gst.defs:
* gst/gstversion.override.in:
* gst/pbutils.override:
* testsuite/test_pbutils.py:
Series of update for new API added to 0.10.16.
Remove wrong ignore file for 0.10.15 -base.
2008-01-14 12:44:06 +00:00
Edward Hervey
d8ea05bedb configure.ac: Bump requirement to core and -base >= 0.10.12 .
Original commit message from CVS:
* configure.ac:
Bump requirement to core and -base >= 0.10.12 .
* gst/Makefile.am:
* gst/gstversion.override.in:
* gst/gst-0.10.10.ignore:
* gst/gst-0.10.11.ignore:
* gst/gst-0.10.12.ignore:
* gst/gst-0.10.3.ignore:
* gst/gst-0.10.4.ignore:
* gst/gst-0.10.5.ignore:
* gst/gst-0.10.6.ignore:
* gst/gst-0.10.7.ignore:
* gst/gst-pb-0.10.11.ignore:
Remove no-longer needed files.
2008-01-13 21:51:31 +00:00
Edward Hervey
45b80b1e8c Re-implement wrapping of gst_pad_add_*probe in order to avoid leaks of user-data associated with the probes.
Original commit message from CVS:
reviewed by: Edward Hervey  <edward.hervey@collabora.co.uk>
* gst/gstpad.override:
* testsuite/test_pad.py:
Re-implement wrapping of gst_pad_add_*probe in order to avoid leaks of
user-data associated with the probes.
Fixes #504786
2008-01-13 17:57:48 +00:00
Edward Hervey
9077e68aaa gst/pbutils.override: Finish wrapping gst.pbutils by adding install_plugins_async()
Original commit message from CVS:
* gst/pbutils.override:
Finish wrapping gst.pbutils by adding install_plugins_async()
2008-01-13 17:24:42 +00:00
Edward Hervey
f6bd62ac46 gst/Makefile.am: gst.pbutils also needs to handle miniobjects
Original commit message from CVS:
* gst/Makefile.am:
gst.pbutils also needs to handle miniobjects
* gst/pbutils.defs:
Add new InstallPluginsContext boxed definition.
All the *_new() functions should be accessible (and not act as
constructors).
* gst/pbutils.override:
Add override for install_plugins_sync().
* gst/pbutilsmodule.c:
Add pygst_debug debug category in this module too.
* testsuite/test_pbutils.py:
Test existence of new API. Needs more tests.
2008-01-11 16:30:45 +00:00
Edward Hervey
cd3d33a4a6 gst/: new gst.pbutils module that wraps the gst-plugins-base pbutils helper library.
Original commit message from CVS:
* gst/Makefile.am:
* gst/common.h:
* gst/pbutils.defs:
* gst/pbutils.override:
* gst/pbutilsmodule.c: (initpbutils):
new gst.pbutils module that wraps the gst-plugins-base pbutils
helper library.
* testsuite/Makefile.am:
* testsuite/common.py:
* testsuite/test_pbutils.py:
Test case for gst.pbutils
Fixes #472822
2008-01-01 13:22:21 +00:00
Edward Hervey
c0b572b89f gst/: Update API changes for core+base pre-releases
Original commit message from CVS:
* gst/base.defs:
* gst/gst-0.10.15.ignore:
* gst/gst.defs:
* gst/gst.override:
* gst/gstmodule.c: (init_gst):
Update API changes for core+base pre-releases
2007-11-08 19:56:54 +00:00
Johan Dahlin
fbd4ea3772 gst/: Make sure it still builds with GStreamer 0.10.14.
Original commit message from CVS:
2007-11-01  Johan Dahlin  <johan@gnome.org>

* gst/gst.override:
* gst/gst-0.10.15.ignore:
Make sure it still builds with GStreamer 0.10.14.
2007-11-01 16:39:17 +00:00
Alessandro Decina
898f527739 gst/gst.*: Patch from Alessandro Decina adding get_type_full and get_protocols_full private vfuncs to the URIHandler ...
Original commit message from CVS:
* gst/gst.defs:
* gst/gst.override:
Patch from Alessandro Decina adding get_type_full and
get_protocols_full private vfuncs to the URIHandler interface
to allow bindings to support creating URI handlers.
Partially fixes: #339279
2007-10-25 16:18:55 +00:00
Edward Hervey
13804466c9 gst/gst.*: Thanks to Sebastien Merle for resurrecting a patch I'd forgotten about that adds a constructor method for ...
Original commit message from CVS:
* gst/gst.defs:
* gst/gst.override:
Thanks to Sebastien Merle for resurrecting a patch I'd forgotten about
that adds a constructor method for gst.GError, so you can create
error gst.Message.
Added a few GIL releases for overrides.
2007-10-18 08:44:43 +00:00
Edward Hervey
180a79c36d gst/gstobject.override: Release the GIL when calling gst_object_get_path_string() since it can cause deadlocks with n...
Original commit message from CVS:
* gst/gstobject.override:
Release the GIL when calling gst_object_get_path_string() since it can
cause deadlocks with new pygobject behaviour.
2007-10-13 16:32:52 +00:00
Edward Hervey
7eebff4489 gst/gstmodule.c: Added new gst.TAG_COMPOSER constant that appeared in core 0.10.15.
Original commit message from CVS:
* gst/gstmodule.c: (init_gst):
Added new gst.TAG_COMPOSER constant that appeared in core 0.10.15.
2007-10-13 16:31:35 +00:00
Edward Hervey
ef1189b506 gst/: Update API definitions for GStreamer core and gst-plugins-base.
Original commit message from CVS:
* gst/base.defs:
* gst/libs.defs:
* gst/gst.defs:
* gst/gst.override:
Update API definitions for GStreamer core and gst-plugins-base.
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.15.ignore:
* gst/gst-pb-0.10.15.ignore:
* gst/gstversion.override.in:
New .ignore for 0.10.14.* API
2007-10-09 16:17:28 +00:00
Sébastien Moutte
547e7c455f gst/pygstminiobject.c: Move up variable declaration to the top of the function.
Original commit message from CVS:
* gst/pygstminiobject.c: (pygstminiobject_dealloc):
Move up variable declaration to the top of the function.
* win32/vs6/gst_python.dsw:
* win32/vs6/libgstpython.dsp:
* win32/vs6/pygenfiles.dsp:
* win32/MANIFEST
Add new project files to build with VS6.
2007-10-08 22:04:18 +00:00
Andy Wingo
705ffb4135 gst/gstmodule.c (DL_EXPORT): Remove the atexit(gst_deinit).
Original commit message from CVS:
2007-09-11  Andy Wingo  <wingo@pobox.com>

* gst/gstmodule.c (DL_EXPORT): Remove the atexit(gst_deinit).
Atexit handlers are run after python has finalized (see Py_Exit in
pythonrun.c), but gst_deinit can potentially call back into python
e.g. for python-defined plugins. Not sure how other people are
avoiding this segfault, but I see it all the time on Gusty x86-64
with Flumotion.
2007-09-11 11:49:50 +00:00
Stefan Kost
3a6849d0a8 gst/: Make ro memory to share.
Original commit message from CVS:
* ChangeLog:
* gst/pygstminiobject.c:
Make ro memory to share.
2007-08-16 12:42:13 +00:00
Edward Hervey
76af94397e gst/gst.override: And the dataqueue header only landed in 0.10.11 too.
Original commit message from CVS:
* gst/gst.override:
And the dataqueue header only landed in 0.10.11 too.
2007-07-30 11:57:26 +00:00
Edward Hervey
9f852edee2 gst/gst-0.10.11.ignore: GstDataQueue was added in gstreamer-0.10.11
Original commit message from CVS:
* gst/gst-0.10.11.ignore:
GstDataQueue was added in gstreamer-0.10.11
* gst/gst-0.10.14.ignore:
some GstDataQueue methods were added in 0.10.14
2007-07-30 11:39:08 +00:00
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
a73bf408b1 Adding version overrides for new core/base releases.
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.14.ignore:
* gst/gst-pb-0.10.14.ignore:
* gst/gstversion.override.in:
Adding version overrides for new core/base releases.
2007-07-28 14:22:49 +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
Edward Hervey
be00a83bb8 gst/gst.defs: Make .get_uri_type() methods return a GstURIType enum instead of an integer.
Original commit message from CVS:
reviewed by: Edward Hervey  <bilboed@bilboed.com>
* gst/gst.defs:
Make .get_uri_type() methods return a GstURIType enum instead of an
integer.
Fixes #436620
2007-07-27 11:21:31 +00:00
Edward Hervey
42a768f4a3 gst/extend/discoverer.py: New parameter to the discoverer to change the default maximum frame interleave.
Original commit message from CVS:
reviewed by: Edward Hervey  <bilboed@bilboed.com>
* gst/extend/discoverer.py:
New parameter to the discoverer to change the default maximum frame
interleave.
Fixes #418222
2007-07-27 11:12:33 +00:00
Stefan Kost
c45722519b gst/gst-disable-loadsave.ignore: Override more when having now xml.
Original commit message from CVS:
* gst/gst-disable-loadsave.ignore:
Override more when having now xml.
2007-07-20 08:50:18 +00:00
Edward Hervey
3e4ab3eeb1 gst/gstelement.override: Override the proxy method for GstElement::request_new_pad virtual methods since it can be ca...
Original commit message from CVS:
* gst/gstelement.override:
Override the proxy method for GstElement::request_new_pad virtual
methods since it can be called with NULL as the name.
Fixes #454259
2007-07-09 19:42:31 +00:00
Zaheer Abbas Merali
abe5953fb9 gst/gstevent.override: Copy the GstStructure given as argument to gst_event_new_custom and gst_event_new_navigation, ...
Original commit message from CVS:
Patch by: Zaheer Abbas Merali <zaheermerali@gmail.com>
* gst/gstevent.override:
Copy the GstStructure given as argument to gst_event_new_custom
and gst_event_new_navigation, else it would be freed when the python
object wrapping that structure goes out of scope.
Fixes #450117
2007-07-09 19:30:26 +00:00
Rene Stadler
f86fb60e09 gst/: Handle 'gchar**' (GStrv) arguments in a uniform way.
Original commit message from CVS:
Patch by: Rene Stadler <mail@renestadler.de>
* gst/arg-types.py:
* gst/gst.defs:
* gst/gst.override:
Handle 'gchar**' (GStrv) arguments in a uniform way.
Fixes #385841
2007-07-05 13:57:41 +00:00
Edward Hervey
69c458d2dc gst/gstbuffer.override: whoapadoooo wabada bada ...
Original commit message from CVS:
* gst/gstbuffer.override:
whoapadoooo wabada bada ...
nothing here... :)
Fixes #451645
2007-06-27 15:40:12 +00:00
Edward Hervey
cef8a55b55 gst/extend/: Fixes for thread-safety, changes in behaviour with gst.Pad and cleanup. Still has some issues.
Original commit message from CVS:
* gst/extend/jukebox.py:
* gst/extend/sources.py:
Fixes for thread-safety, changes in behaviour with gst.Pad and
cleanup. Still has some issues.
2007-06-16 12:08:45 +00:00
Edward Hervey
62714e8794 gst/__init__.py: Cleaner way of checking for existence of symbols in gst module.
Original commit message from CVS:
* gst/__init__.py:
Cleaner way of checking for existence of symbols in gst module.
2007-06-14 14:53:28 +00:00
Edward Hervey
d549590467 gst/__init__.py: Fix API cleanups that cause API breakage.
Original commit message from CVS:
* gst/__init__.py:
Fix API cleanups that cause API breakage.
Fixes #446674
2007-06-12 19:01:25 +00:00
Jan Schmidt
8723c77035 gst/gstpad.override: Wrap gst_pad_set_blocked_async in pyg thread unlock/lock.
Original commit message from CVS:
* gst/gstpad.override:
Wrap gst_pad_set_blocked_async in pyg thread unlock/lock.
2007-06-11 22:00:20 +00:00
Michael Smith
66f9b9f28e gst/extend/discoverer.py: Better support for demuxers that don't create all pads at startup.
Original commit message from CVS:
Patch by : Michael Smith  <msmith@fluendo.com>
* gst/extend/discoverer.py:
Better support for demuxers that don't create all pads at startup.
Fixes #380966
2007-06-08 16:16:34 +00:00
Edward Hervey
af47b31093 gst/gst-0.10.12.ignore: Add more API additions that weren't explicit in the release notes.
Original commit message from CVS:
* gst/gst-0.10.12.ignore:
Add more API additions that weren't explicit in the release notes.
* gst/gst-0.10.13.ignore:
Personal note : remember to save file before commiting it.
2007-06-08 16:06:10 +00:00
Edward Hervey
8a1e47b050 Updating ignores for API additions
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.12.ignore:
* gst/gst-0.10.13.ignore:
* gst/gstversion.override.in:
Updating ignores for API additions
* gst/base.defs:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/interfaces.defs:
* gst/libs.defs:
Massive wrapping of new API additions
* gst/gstbase.override:
* gst/gstevent.override:
* gst/gstmessage.override:
* gst/gstquery.override:
Overrides for methods with return values as arguments.
* gst/xwindowlistener.defs:
What the $#@# is this file still doing here ?? Removing it.
2007-06-08 15:16:08 +00:00
Edward Hervey
ba2294c018 Example of how to properly ignore methods that aren't available if some feature is disabled in GStreamer core.
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-disable-loadsave.ignore:
* gst/gstversion.override.in:
Example of how to properly ignore methods that aren't available if
some feature is disabled in GStreamer core.
2007-05-23 09:49:07 +00:00
Edward Hervey
b235a2c289 gst/gstbin.override: Release the GIL in GstBin overrides.
Original commit message from CVS:
* gst/gstbin.override:
Release the GIL in GstBin overrides.
2007-04-19 15:43:16 +00:00
Jan Schmidt
f77d66033d gst/gstelement.override: Release the python lock when performing GStreamer calls that might result in callbacks into ...
Original commit message from CVS:
* gst/gstelement.override:
Release the python lock when performing GStreamer calls that might
result in callbacks into python.
2007-04-13 11:26:43 +00:00
Jan Schmidt
87a5beb47c gst/gstbase.override: Unroll the GIL state in an error case where it was missing.
Original commit message from CVS:
* gst/gstbase.override:
Unroll the GIL state in an error case where it was missing.
2007-04-11 09:33:37 +00:00
Jan Schmidt
483a107dbf gst/gstpad.override: Release the GIL lock while executing queries in GStreamer.
Original commit message from CVS:
* gst/gstpad.override:
Release the GIL lock while executing queries in GStreamer.
2007-04-11 09:22:15 +00:00
Jan Schmidt
d3a4c03c2b Implement pad query proxying so that python elements can answer pad queries. Fixes: #428299
Original commit message from CVS:
* examples/pyidentity.py:
* gst/common.h:
* gst/gstpad.override:
Implement pad query proxying so that python elements can
answer pad queries. Fixes: #428299
2007-04-10 18:01:25 +00:00
Edward Hervey
605a8acde5 codegen/codegen.py: Also ignore pointers and boxed if they're in ignore-type.
Original commit message from CVS:
* codegen/codegen.py:
Also ignore pointers and boxed if they're in ignore-type.
* gst/gst-0.10.7.ignore:
Add gst_type_find_factory_call_function to functions ignored before
0.10.7 since it requires GstTypeFind arguments.
2007-04-04 12:57:32 +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
Tim-Philipp Müller
6baee7881d gst/interfaces.defs: GstTunerChannel and GstTunerNorm are not GstObjects, only GObjects.
Original commit message from CVS:
* gst/interfaces.defs:
GstTunerChannel and GstTunerNorm are not GstObjects, only GObjects.
2007-03-25 19:02:23 +00:00
Johan Dahlin
2d61ba0895 gst/: Make it compilable on Python 2.4 and Python 2.5
Original commit message from CVS:
* gst/common.h:
* gst/gsttaglist.override:

Make it compilable on Python 2.4 and Python 2.5
2007-03-19 01:21:12 +00:00
Johan Dahlin
1b1b56c762 gst/__init__.py: Implement multiplication, divison and float coercing for fractions.
Original commit message from CVS:

* gst/__init__.py: Implement multiplication, divison and float
coercing for fractions.

* testsuite/test_fraction.py:
Add fraction tests
2007-03-18 17:45:16 +00:00
Johan Dahlin
51baae336c Implement sq_contains and add tests for gst.TagList.
Original commit message from CVS:
* gst/gsttaglist.override (_wrap_gst_tag_list_contains):
* testsuite/test_taglist.py (TestTagList.testKeys):

Implement sq_contains and add tests for gst.TagList.
2007-03-17 13:36:48 +00:00
Edward Hervey
e8b581108d gst/__init__.py: Import libxml2 (if available) at import time with GLOBAL and LAZY flags.
Original commit message from CVS:
* gst/__init__.py:
Import libxml2 (if available) at import time with GLOBAL and LAZY flags.
Fixes #398567
2007-03-02 11:03:46 +00:00
Edward Hervey
34f77d7db3 gst/__init__.py: Added __eq__ method to fractions so we can check if two fractions are equal.
Original commit message from CVS:
* gst/__init__.py:
Added __eq__ method to fractions so we can check if two fractions are
equal.
* gst/pygstvalue.c: (my_gcd), (pygst_value_from_pyobject):
Attempt to simplify gst.Fraction before filling in a GValue.
Fixes #381243
* testsuite/test_caps.py:
* testsuite/test_struct.py:
Minor beauty fixes. framerates are fractions, not floats.
2007-03-01 14:21:52 +00:00
Edward Hervey
78dc74984d gst/interfacesmodule.c: initialize pygobject in the gst.interfaces modules. The absence of it causes segfaults on Sol...
Original commit message from CVS:
reviewed by: Edward Hervey  <edward@fluendo.com>
* gst/interfacesmodule.c: (initinterfaces):
initialize pygobject in the gst.interfaces modules. The absence of it
causes segfaults on Solaris and MIPS machines.
Fixes #343980
2007-03-01 13:47:12 +00:00
Michael Smith
77015e02a4 gst/base.defs: Limitations in the code generator mean that we can't handle PushSrc in a way which works, so just comm...
Original commit message from CVS:
* gst/base.defs:
Limitations in the code generator mean that we can't handle PushSrc
in a way which works, so just comment this out until someone wants
to tackle this more completely.
2007-02-27 10:44:21 +00:00
Michael Smith
4d9d385f44 gst/pygstvalue.c: Make buffers-in-gvalues more generic: handle all miniobjects
Original commit message from CVS:
* gst/pygstvalue.c: (pygst_value_init_for_pyobject),
(pygst_value_from_pyobject):
Make buffers-in-gvalues more generic: handle all miniobjects
* testsuite/test_caps.py:
Add a bit to one the test for buffers in caps.
2007-02-25 12:11:34 +00:00
Michael Smith
3a0177e741 gst/pygstvalue.c: Implement gst.Buffer support in GValues (e.g. for caps containing buffers)
Original commit message from CVS:
* gst/pygstvalue.c: (pygst_value_as_pyobject),
(pygst_value_init_for_pyobject), (pygst_value_from_pyobject):
Implement gst.Buffer support in GValues (e.g. for caps containing
buffers)
2007-02-22 16:13:53 +00:00
Edward Hervey
1856ed8de0 gst/gstpad.override: Allow removing the negotiated pads of a cap by setting them to None.
Original commit message from CVS:
reviewed by: Edward Hervey  <edward@fluendo.com>
* gst/gstpad.override:
Allow removing the negotiated pads of a cap by setting them to None.
* testsuite/test_pad.py:
Added un-negotian of pads' caps to test above patch.
Fixes #363795
2007-02-04 10:54:48 +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