Commit graph

557 commits

Author SHA1 Message Date
Edward Hervey
f72c2fe02a gst-pb-0.10.23.ignore: Remove stray empty line.
This caused some issues on some systems.
2009-05-12 11:52:11 +02:00
Edward Hervey
ed998fec03 gst-pb-0.10.23: Fix the ignores, globs need to go in a special section.
Finishes fixing #581729
2009-05-07 14:50:04 +02:00
Edward Hervey
ff43cb3c67 gst-0.10.23.ignore: Add newly added enum values. Partially fixes #581729 2009-05-07 14:49:53 +02:00
Thomas Vander Stichele
12a210c613 TIME_ARGS: Catch bad input. Fixes #579455 2009-04-23 17:08:04 +02:00
Jan Schmidt
777a4d59ec python: Fix some locking problems
Add some python pyg_begin_allow_threads/end_allow_threads when calling into some gstreamer functions that might
call into python.
2009-04-18 16:39:42 +01:00
Edward Hervey
ddf17d4033 Wrap gst-plugins-base-0.10.23 API additions. Partially fixes #578848 2009-04-17 19:28:08 +02:00
Edward Hervey
a41177e510 Wrap new API added in gstreamer-0.10.23. Partially fixes #578848 2009-04-17 18:51:40 +02:00
Mark Nauwelaerts
e9d2003af5 query_new_seeking wrapper must return query with refcount 1. Fixes #579183. 2009-04-17 11:34:37 +02:00
Thomas Vander Stichele
62d82ad5b6 Merge branch 'bz-577735' 2009-04-15 22:38:28 +02:00
Edward Hervey
bbedab4e65 registry: fix deadlock with recursive registry scanning.
The way to properly fix this issue was in fact to disable the registry
scanning when we import gst from the python plugin loader since...
we are 100% guaranteed this is being called from a registry scan :)
2009-04-12 21:27:33 +02:00
Laszlo Pandy
4d8b4c8dd3 debug: Implement gst.debug_log. Fixes #571380 2009-04-11 16:58:25 +02:00
Edward Hervey
ec44907858 adapter: overrides for _take/_peek. Fixes #576505.
This creates strings of the proper size, unlike the previous patch.
2009-04-11 16:49:42 +02:00
Edward Hervey
04392b2862 arg-types: Remove guint8* argtype.
Partially reverts 7aef2834cf
2009-04-11 16:49:42 +02:00
Edward Hervey
9a8db128d0 __init__: Postpone registry update during initialization. Fixes #576145 2009-04-11 16:24:37 +02:00
Alessandro Decina
1cd54e6d45 Fix uninstalled usage with python 2.6. Fixes #576546
Also imports submodules as mentionned by Philippe Normand.
2009-04-11 16:22:06 +02:00
Thomas Vander Stichele
a397586060 Merge branch 'master' of ssh://thomasvs@git.freedesktop.org/git/gstreamer/gst-python into bz-577735 2009-04-10 15:43:35 +02:00
Thomas Vander Stichele
f4865eb427 handle actual GObject having been set to NULL in repr
(For example, when doing weak ref tracking)
2009-04-04 12:57:31 +02:00
Mark Nauwelaerts
9a7284be3f Provide wrapper for gst_tag_get_type. Fixes #571156. 2009-04-03 12:28:40 +02:00
Thomas Vander Stichele
dd6bf4a4d4 Fix for #577735: do_handle_message leaks messages 2009-04-02 17:21:58 +02:00
Edward Hervey
e92f06b126 Fix some leaks. 2009-03-26 16:18:04 +01:00
Edward Hervey
7aef2834cf New guint8* ArgType. Wraps the various GstAdapter methods. Fixes #576505 2009-03-26 16:13:48 +01:00
Alessandro Decina
0fd4db686b gstbus: fix refcounting in gst.Bus.set_sync_handler. 2009-03-17 15:03:09 +01:00
Edward Hervey
4eba960ed2 base.defs: Allow passing NULL/None to gst.BaseTransform.suggest() 2009-03-10 19:29:51 +01:00
Edward Hervey
f884a2a7de gstcaps: Remove dead code.
Those two lines will never be called, because caps2 will always be NULL
if we go to error (either we haven't used it yet (first goto and in this
case it's NULL), or.. it's NULL (second goto)).
2009-03-05 13:59:30 +01:00
Edward Hervey
3077b801bd pbutils: Fix leaked GStrv. Fixes #574258 2009-03-05 13:45:07 +01:00
Edward Hervey
92f2e4d540 Fix leak in gst_flow_get_name() wrapper function. Fixes #574251
PyString_FromString will make a copy of the provided string.
2009-03-05 13:22:01 +01:00
Alessandro Decina
83f31c7194 Don't steal a ref to event in gst.BaseTransform.do_src_event. 2009-02-24 11:45:57 +01:00
Edward Hervey
4fadf0700e gstbus.override: Allow using set_sync_handler with None as a parameter 2009-02-22 20:13:04 +01:00
Edward Hervey
51ac26b86c GstPad: Use gst_pad_set_blocked_async_full() if available.
Avoids leaking arguments.
Fixes #514717
2009-02-22 20:12:23 +01:00
Edward Hervey
d66033a19c gstpad.override: Take a copy of gst_static_pad_template_get_caps()
This means that we take a completely new caps for the sole usage of
gst-python. The GstCaps return by gst_static_pad_template_get_caps() are
(surprise) static and therefore will always exist... as long as the
GstStaticPadTemplate (and the factory providing it) still exist.

This solves the case of getting the caps of a static pad template *before*
any element was created using the GstElementFactory. When the factory is
used to create an element, a new factory is created, replacing the old one,
and plainly discarding any static values (including those caps).
2009-02-20 18:29:20 +01:00
Edward Hervey
9291aa202f GstMiniObject: Re-increment the C refcount after using a miniobject.
This behaviour is symmetrical to what we do at the very beginning (incrementing
the Python refcount of the wrapper object and decrementing the C refcount of the
actual object).
2009-02-09 13:54:44 +01:00
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