Commit graph

517 commits

Author SHA1 Message Date
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