Commit graph

482 commits

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