Commit graph

930 commits

Author SHA1 Message Date
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
Edward Hervey
61b534042c .gitignore: Reorder ignores and add *~ 2009-03-02 15:22:33 +01:00
Edward Hervey
6d6781e01f plugin: Don't import modules that were already imported.
This avoids warnings for the cases where pygst.require() was already
called.
2009-02-27 12:29:04 +01:00
Jan Schmidt
3f5c8795c3 build: Update shave init statement for changes in common. Bump common. 2009-02-25 15:14:42 +00:00
Jan Schmidt
441abc55af Automatic update of common submodule
From 9cf8c9b to a6ce5c6
2009-02-25 11:33:13 +00: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
Jan Schmidt
ad95fc4e14 Use shave for the build output 2009-02-22 20:40:14 +00: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
Jan Schmidt
c09e3207bc Automatic update of common submodule
From 5d7c9cc to 9cf8c9b
2009-02-22 16:01:49 +00:00
David Schleef
6c2485c4e1 Automatic update of common submodule
From 80c627d to 5d7c9cc
2009-02-21 11:14:13 -08: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
c4d785bc7b Plugin Loader: Don't register non-gstElement subclasses 2009-02-20 10:19:47 +01:00
Edward Hervey
3ec4919434 gstltihooks: Sync with upstream pygobject/ltihooks.py commit.
Apply commit from James Henstridge 2009-02-20 : "I've updated the
license block in pygtk/ltihooks.py to LGPL (not sure why I
didn't just use LGPL like the rest of pygtk)."

Partially fixes #572487
2009-02-20 08:34:38 +01:00
Edward Hervey
4d016c78f8 plugin/Makefile.am : Remove commented lines 2009-02-09 14:02:41 +01:00
Edward Hervey
9a5a1e8e7e Python plugin loader implementation.
Fixes #304361.
2009-02-09 14:02:34 +01:00
Edward Hervey
3a000ecaa4 Add a rule to generate valgrind suppressions for a single test. 2009-02-09 13:54:50 +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
531b34bcbf Bump revision to use for common submodule. 2009-02-09 12:04:04 +01:00
Jan Schmidt
cb0f2ff130 Bump common 2009-01-30 17:41:18 +00:00
Edward Hervey
053cd4bdee Fix previous commit, wasn't actually setting up a symbolic link 2009-01-30 09:06:31 +01:00
Edward Hervey
c904c72063 Use a symbolic link for the pre-commit client-side hook 2009-01-30 08:59:21 +01:00
Edward Hervey
ad201dca69 Ignore new auto-generated .c files 2009-01-30 08:59:07 +01:00
Stefan Kost
378bddc8c5 Add progress report element to cp example. 2009-01-26 11:11:18 +02:00
Stefan Kost
3cb127e9d9 Add an example for using the tagsetter iface. 2009-01-23 22:17:21 +02:00
Sebastian Dröge
5cc4c08735 Fix pre-commit hook 2009-01-22 13:50:33 +01:00
Jan Schmidt
221a308b52 Back to devel -> 0.10.14.1 2009-01-22 12:03:37 +00:00
Edward Hervey
68477fae2b Install and use pre-commit indentation hook from common 2009-01-22 06:10:50 +01:00
Edward Hervey
0feb0631ec autogen.sh : Use git submodule 2009-01-21 04:36:02 +01:00
Jan Schmidt
3e811faefc Release 0.10.14
Original commit message from CVS:
Release 0.10.14
2009-01-19 23:18:26 +00:00
Jan Schmidt
22b9ffd6d7 configure.ac: 0.10.13.3 pre-release
Original commit message from CVS:
* configure.ac:
0.10.13.3 pre-release
2009-01-09 23:45:36 +00: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
Edward Hervey
d658b7b222 testsuite/Makefile.am: Add a way to run individual tests. 'make test_bin.py.check' for example.
Original commit message from CVS:
* testsuite/Makefile.am:
Add a way to run individual tests.
'make test_bin.py.check' for example.
2008-12-06 15:39:01 +00:00
Edward Hervey
7ebe9f4fe4 examples/gst-discover: Beautify output of discoverer's duration.
Original commit message from CVS:
* examples/gst-discover:
Beautify output of discoverer's duration.
2008-12-06 14:13:55 +00:00
Edward Hervey
a7d29b2f47 testsuite/test_event.py: Sinks now send GST_EVENT_LATENCY events upstream. Adapt test for that new behaviour.
Original commit message from CVS:
* testsuite/test_event.py:
Sinks now send GST_EVENT_LATENCY events upstream. Adapt test for that
new behaviour.
2008-12-06 14:10:51 +00:00
Sebastian Dröge
bf58e88041 Add common to SUBDIRS and generate common/Makefile and common/m4/Makefile.
Original commit message from CVS:
* Makefile.am:
* configure.ac:
Add common to SUBDIRS and generate common/Makefile and
common/m4/Makefile.
2008-12-05 08:49:05 +00:00
Sebastian Dröge
8e55b8e96a configure.ac: Apparently AC_CONFIG_MACRO_DIR breaks when using more than one macro directory, reverting last change.
Original commit message from CVS:
* configure.ac:
Apparently AC_CONFIG_MACRO_DIR breaks when using more
than one macro directory, reverting last change.
2008-12-04 20:11:53 +00:00
Sebastian Dröge
0d5fdc416f configure.ac: Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to our M4 macros.
Original commit message from CVS:
* configure.ac:
Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
our M4 macros.
2008-12-04 19:50:23 +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