Commit graph

780 commits

Author SHA1 Message Date
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
Jan Schmidt
cfef9679c9 examples/sinkelement-registry.py: A quick modification of the sinkelement.py example that shows how to register a pur...
Original commit message from CVS:
* examples/sinkelement-registry.py:
A quick modification of the sinkelement.py example that
shows how to register a pure-python gst.Element into the
registry for use in autoplugging or parse_launch lines.
2007-06-14 14:14:12 +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
Stefan Kost
995c3edb46 configure.ac: Add example for the new AG_GST_PARSE_SUBSYSTEM_DISABLE macro.
Original commit message from CVS:
* configure.ac:
Add example for the new AG_GST_PARSE_SUBSYSTEM_DISABLE macro.
2007-04-23 14:42:25 +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
Jan Schmidt
4ecf760ec1 examples/pyidentity.py: Add a simple example that implements an identity-like element in python and passes buffers th...
Original commit message from CVS:
* examples/pyidentity.py:
Add a simple example that implements an identity-like element in
python and passes buffers through. It lacks buffer-alloc & query
handling at the moment, because the required gstreamer funcs aren't
wrapped.
* examples/sinkelement.py:
Make sure to call gobject.threads_init() in the example.
2007-04-10 12:44:44 +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
53d563a1a0 Changelog surgery: Attribute the previous release to Monsieur Hervey
Original commit message from CVS:
Changelog surgery: Attribute the previous release to Monsieur Hervey
2007-04-04 12:27:03 +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
Thomas Vander Stichele
f545ee31ba trigger rebuild
Original commit message from CVS:
trigger rebuild
2007-02-28 22:09:33 +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
e4bd9d306c testsuite/test_caps.py: Add test for gst.Buffer in caps.
Original commit message from CVS:
* testsuite/test_caps.py:
Add test for gst.Buffer in caps.
2007-02-24 14:14:14 +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
David Schleef
28631a21d9 Makefile.am: Add ACLOCAL_AMFLAGS
Original commit message from CVS:
* Makefile.am: Add ACLOCAL_AMFLAGS
2007-02-16 02:39:56 +00:00
Edward Hervey
9a4fa9567c testsuite/common.py: A private variable of unittest.TestCase changed name in python 2.5.
Original commit message from CVS:
* testsuite/common.py:
A private variable of unittest.TestCase changed name in python 2.5.
This fixes make check with python2.5
2007-02-04 11:40:09 +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
Edward Hervey
04a182516c Fully implement GstPropertyProbe interface, with unit test.
Original commit message from CVS:
reviewed by: Edward Hervey  <edward@fluendo.com>
* gst/interfaces.defs:
* gst/interfaces.override:
* testsuite/test_interface.py:
Fully implement GstPropertyProbe interface, with unit test.
Fixes #376996
2007-02-04 10:23:38 +00:00
Edward Hervey
4c9d89a324 configure.ac: Back to development cycle.
Original commit message from CVS:
* configure.ac:
Back to development cycle.
2007-01-31 16:53:15 +00:00
Edward Hervey
9e4c9bfcb9 Releasing 0.10.7
Original commit message from CVS:
Releasing 0.10.7
2007-01-31 16:51:37 +00:00
Edward Hervey
468e10172a codegen/codegen.py: Don't register interface if it is ignored
Original commit message from CVS:
* codegen/codegen.py:
Don't register interface if it is ignored
* configure.ac:
GST_PB_MINOR_VERSION doesn't appear by magic, you actually have to
parse it from pkg-config !
* gst/gst-pb-0.10.11.ignore:
Ignore GstVideoOrientation type altogether.
* gst/interfaces.override:
Include gstversion.override so that non-existent API is properly ignored.
Should fix #401051 once and for good now.
2007-01-29 12:27:46 +00:00
Edward Hervey
17f1385678 ChangeLog surgery : Indicate which bug last ocmmit fixed.
Original commit message from CVS:
ChangeLog surgery : Indicate which bug last ocmmit fixed.
----------------------------------------------------------------------
2007-01-29 11:17:45 +00:00
Edward Hervey
7fa0fd6ce0 configure.ac: Check for availability of video-orientation interface
Original commit message from CVS:
* configure.ac:
Check for availability of video-orientation interface
* gst/gst.override:
don't forget to increment the refcount of Py_None before returning it.
* gst/interfaces.override:
If video-orientation interface isn't available, don't include the
header.
2007-01-29 11:16:35 +00:00
Edward Hervey
c5741e1c64 Add ignore file for 0.10.12 API additions
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gstversion.override.in:
* gst/gst-0.10.12.ignore:
Add ignore file for 0.10.12 API additions
* gst/gst.defs:
* gst/base.defs:
* gst/gst-types.defs:
Add new API definitions
* gst/gst-0.10.10.ignore:
* gst/gst-0.10.11.ignore:
Fixup ignore files.
* testsuite/test_segment.py:
The update return value is uncertain and will soon be deprecated, don't
check against it anymore.
2007-01-26 11:58:55 +00:00
Thomas Vander Stichele
7a27ebbd79 wrap mixer set_volume, use tuple to match get_volume
Original commit message from CVS:
* examples/mixer.py:
* gst/interfaces.override:
wrap mixer set_volume, use tuple to match get_volume
2007-01-17 11:22:04 +00:00
Thomas Vander Stichele
10fe9ba7f4 gst/pygstexception.*: gst.element_factory_make should raise ElementNotFoundError.
Original commit message from CVS:
* gst/pygstexception.c: (element_not_found_error_init),
(pygst_exceptions_register_classes):
* gst/pygstexception.h:
gst.element_factory_make should raise ElementNotFoundError.
Subclass it from PluginNotFoundError so we can add it compatibly
and remove the wrong one later.
* gst/gstelementfactory.override:
raise ElementNotFoundError
2007-01-17 07:30:11 +00:00
Thomas Vander Stichele
7e94773d0f gst/interfaces.*: wrap mixer get_volume
Original commit message from CVS:
* gst/interfaces.defs:
* gst/interfaces.override:
wrap mixer get_volume
* examples/Makefile.am:
* examples/mixer.py:
add an example using it
2007-01-17 06:27:38 +00:00
Thomas Vander Stichele
dd5042357a add pb ignore file
Original commit message from CVS:
add pb ignore file
2007-01-17 06:27:12 +00:00
Thomas Vander Stichele
bd220304ef configure.ac: fix use of PKG_CHECK_MODULES check for a pygobject of at least 2.11 for a value_from_pyobject fix
Original commit message from CVS:
* configure.ac:
fix use of PKG_CHECK_MODULES
check for a pygobject of at least 2.11 for a value_from_pyobject fix
* gst/gstobject.override:
use it
2007-01-17 06:15:33 +00:00
Thomas Vander Stichele
39b3a029bb gst/extend/discoverer.py: this is a module, not a program, so don't require versions
Original commit message from CVS:
* gst/extend/discoverer.py:
this is a module, not a program, so don't require versions
2007-01-17 05:02:01 +00:00
Thomas Vander Stichele
2b4ab44e91 configure.ac: check for stuff added in gst-pb 0.10.11
Original commit message from CVS:
* configure.ac:
check for stuff added in gst-pb 0.10.11
* gst/Makefile.am:
* gst/interfaces.defs:
* gst/interfaces.override:
add video orientation interface
2007-01-17 04:40:33 +00:00