Commit graph

731 commits

Author SHA1 Message Date
Sebastian Dröge
cb1a86176d autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about GNU make extensions being used. We...
Original commit message from CVS:
* autogen.sh:
Add -Wno-portability to the automake parameters to stop warnings
about GNU make extensions being used. We require GNU make in almost
every Makefile anyway.
* configure.ac:
Check for a working C compiler with AC_PROG_CC.
Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
at the same time is required for per target flags.
2008-01-10 12:51:21 +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
Andy Wingo
535e724574 examples/switch.py: New file, a basic demo for a single-stream switcher. Could be expanded later -- look at flumotion...
Original commit message from CVS:
2007-12-18  Andy Wingo  <wingo@pobox.com>

* examples/switch.py: New file, a basic demo for a single-stream
switcher. Could be expanded later -- look at
flumotion.component.combiners.switch.switch for some inspiration.
2007-12-18 16:48:32 +00:00
Tim-Philipp Müller
fb66fbf371 Makefile.am: Include common/win32.mak for CRLF check of win32 project files (see #393626).
Original commit message from CVS:
* Makefile.am:
Include common/win32.mak for CRLF check of win32 project
files (see #393626).
* win32/vs6/gst_python.dsw:
* win32/vs6/libgstpython.dsp:
* win32/vs6/pygenfiles.dsp:
Fix line endings and do cvs admin -kb.
2007-12-18 09:42:57 +00:00
Sebastian Dröge
d4fc743d06 acinclude.m4: Use pythonX.Y-config to detect the include path for the python version and use the old values as fallba...
Original commit message from CVS:
* acinclude.m4:
Use pythonX.Y-config to detect the include path for the python
version and use the old values as fallback if pythonX.Y-config
doesn't exist.
2007-11-29 15:02:03 +00:00
Edward Hervey
7e4e9e5a00 configure.ac: Back to development cycle
Original commit message from CVS:
* configure.ac:
Back to development cycle
2007-11-28 09:48:45 +00:00
Edward Hervey
1f8e0a3b9b Releasing 0.10.9
Original commit message from CVS:
Releasing 0.10.9
2007-11-28 09:46:34 +00:00
Edward Hervey
eff1eaf006 configure.ac: 0.10.8.2 pre-releases
Original commit message from CVS:
* configure.ac:
0.10.8.2 pre-releases
2007-11-24 18:14:25 +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
5b5311a64f Add a new module, gstoption which allows you to fetch the
Original commit message from CVS:
2007-11-05  Johan Dahlin  <johan@gnome.org>

* gstoptionmodule.c:
* Makefile.am:
* configure.ac:
Add a new module, gstoption which allows you to fetch the
GOptionGroup from gstreamer without initializing and parsing
the command line arguments. Requires PyGObject 2.15.0
Fixes #425847

* examples/option-parser.py (main): Example
2007-11-08 10:51:07 +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
Jan Schmidt
eb8637606b examples/play.py: Fix the sample player slightly so that the expose method actually gets called by pyGTK.
Original commit message from CVS:
* examples/play.py:
Fix the sample player slightly so that the expose method
actually gets called by pyGTK.
2007-10-18 15:10:44 +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
Edward Hervey
f6294fea73 testsuite/: Fix unit tests for pygobject >= 2.13.0
Original commit message from CVS:
* testsuite/common.py:
* testsuite/test_bin.py:
* testsuite/test_element.py:
* testsuite/test_ghostpad.py:
* testsuite/test_pad.py:
* testsuite/test_pipeline.py:
Fix unit tests for pygobject >= 2.13.0
See the pygobject bug #320428 for more information about the changes.
2007-10-09 14:27:18 +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
e6fc062637 configure.ac: Back to development cycle.
Original commit message from CVS:
* configure.ac:
Back to development cycle.
2007-08-01 17:18:05 +00:00
Edward Hervey
8631429fb9 Releasing 0.10.8
Original commit message from CVS:
Releasing 0.10.8
2007-08-01 17:14:09 +00:00
Edward Hervey
22016409fb configure.ac: 0.10.7.2 pre-release
Original commit message from CVS:
* configure.ac:
0.10.7.2 pre-release
2007-07-30 16:10:03 +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
14650368eb Add win32 requirements.
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* win32/MANIFEST:
* win32/common/.cvsignore:
* win32/common/config.h.in:
Add win32 requirements.
Fixes #433375
2007-07-27 11:47:16 +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
Edward Hervey
c2a593851e examples/gst-discover: Show duration of audio/video streams.
Original commit message from CVS:
reviewed by: Edward Hervey  <bilboed@bilboed.com>
* examples/gst-discover:
Show duration of audio/video streams.
Specify units for values.
Fixes #432521
2007-07-27 11:04:55 +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
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
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
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
Edward Hervey
db76ff3908 gst/gst.defs: Add declaration of gst_object_set_property so we can use our MT-safe version of set_property().
Original commit message from CVS:
* gst/gst.defs:
Add declaration of gst_object_set_property so we can use our MT-safe
version of set_property().
* gst/gstobject.override:
Implement a MT-safe version of g_object_set_property for GstObject.
The problem is that currently g_object_set_property is called in
pygobject with the GIL lock taken. This can cause deadlocks.
Remove this hack once bug #395048 is fixed in pygobject and we depend on
the fixed version.
Thanks to Lord Wingo of the "realm.py haters club" for proposing the
idea.
2007-01-11 17:45:46 +00:00
Edward Hervey
4acc40c8d2 codegen/codegen.py: When chaining up to the parent class methods from python to C, we need to allow threads (i.e. rel...
Original commit message from CVS:
* codegen/codegen.py:
When chaining up to the parent class methods from python to C, we need
to allow threads (i.e. release the GIL).
* gst/gstbase.override:
* gst/gstbin.override:
Modify __do_*() overrides in the same way as above.
2007-01-10 16:13:29 +00:00
Thomas Vander Stichele
67e9861541 gst/extend/discoverer.py: No shebang line needed since there is no main code.
Original commit message from CVS:
* gst/extend/discoverer.py:
No shebang line needed since there is no main code.
2007-01-05 10:48:36 +00:00
Edward Hervey
d6df984612 gst/gst.defs: Update API definitions.
Original commit message from CVS:
* gst/gst.defs:
Update API definitions.
* gst/common.h:
* gst/gstpad.override:
Add wrapper functions for settings activate, activatepull and
activatepush functions on pads.
* gst/gst.override:
Wrapper for gst_segment_set_seek() and gst_segment_clip()
Remove global ignore for *_init(), allows gst_segment_init() to be
properly code-generated.
* testsuite/Makefile.am:
* testsuite/test_segment.py:
Add unit test for gst.Segment object.
2006-12-19 11:38:01 +00:00
Edward Hervey
b20b1ec8c3 testsuite/test_pad.py: Activate pads before using them.
Original commit message from CVS:
* testsuite/test_pad.py:
Activate pads before using them.
2006-12-16 15:33:02 +00:00
Edward Hervey
697b6c4b32 RELEASE: Commit 0.10.6 RELEASE file. Better late than never :(
Original commit message from CVS:
* RELEASE:
Commit 0.10.6 RELEASE file. Better late than never :(
2006-12-16 15:16:33 +00:00
Edward Hervey
41e2b77060 Move GstIterator ArgType definition and usage for the codegenerator to gst/arg-types.py. It has nothing to do in the ...
Original commit message from CVS:
* codegen/argtypes.py:
* gst/arg-types.py:
Move GstIterator ArgType definition and usage for the codegenerator
to gst/arg-types.py. It has nothing to do in the codegenerator code.
2006-12-16 14:41:21 +00:00
Thomas Vander Stichele
fb23b775cc add doap file
Original commit message from CVS:
* Makefile.am:
* gst-python.doap:
* gst-python.spec.in:
add doap file
2006-12-15 17:02:31 +00:00
Tim-Philipp Müller
455d84b1a5 gst/interfaces.defs: GstColorBalanceChannel is a GObject, not a GstObject. Fixes #383805.
Original commit message from CVS:
* gst/interfaces.defs:
GstColorBalanceChannel is a GObject, not a GstObject. Fixes #383805.
2006-12-11 09:58:51 +00:00
Edward Hervey
3fb94f72dc changelog surgery, remove the conflict that has been there for 7 month
Original commit message from CVS:
changelog surgery, remove the conflict that has been there for 7 month
2006-12-04 19:54:19 +00:00
Edward Hervey
d79b29c407 configure.ac: Back to development cycle
Original commit message from CVS:
* configure.ac:
Back to development cycle
2006-12-04 17:54:39 +00:00
Edward Hervey
345a6f7572 Releasing gst-python 0.10.6
Original commit message from CVS:
Releasing gst-python 0.10.6
2006-12-04 17:19:44 +00:00
Edward Hervey
6238a5e687 configure.ac: 0.10.5.4 pre-release
Original commit message from CVS:
* configure.ac:
0.10.5.4 pre-release
2006-12-04 16:41:12 +00:00
Edward Hervey
c09393b5b9 gst/: Add implementation of gst.Pad.set_setcaps_function().
Original commit message from CVS:
* gst/common.h:
* gst/gstpad.override:
Add implementation of gst.Pad.set_setcaps_function().
2006-12-01 17:41:28 +00:00
Edward Hervey
b2d90fa5ac configure.ac: 0.10.5.3 pre-release
Original commit message from CVS:
* configure.ac:
0.10.5.3 pre-release
2006-11-28 15:36:50 +00:00
Edward Hervey
d4a8830b7b examples/audio-controller.py: Fix example, use proper property name. Doesn't change anything to the way it used to wo...
Original commit message from CVS:
* examples/audio-controller.py:
Fix example, use proper property name. Doesn't change anything to the
way it used to work, but since it's an example it should be done
properly.
2006-11-22 17:31:02 +00:00
Edward Hervey
34d62eb035 codegen/override.py: Fix the lookup of override files in the specified search directories.
Original commit message from CVS:
* codegen/override.py:
Fix the lookup of override files in the specified search directories.
* gst/Makefile.am:
Don't distribute gstversion.override
Fixup .defs => .c make instructions
All the above fixes the cases where you're building in a directory
different from the source directory.
2006-11-22 17:20:21 +00:00
Michael Smith
26f5653a79 gst/extend/discoverer.py: Avoid buffering infinite amounts of decoded data if a decoder is feeding us data without a ...
Original commit message from CVS:
* gst/extend/discoverer.py:
Avoid buffering infinite amounts of decoded data if a decoder is
feeding us data without a duration (or with bad duration values).
2006-11-15 14:36:39 +00:00
Edward Hervey
f32834da5f gst/extend/discoverer.py: Make the queue buffer up 1s of data before outputting to the sinks. This should give time f...
Original commit message from CVS:
* gst/extend/discoverer.py: Make the queue buffer up 1s of data before
outputting to the sinks. This should give time for some demuxers like
mpegdemux or fluasfdemux to discover a bit more about the muxed
stream and add the correct pads.
Fixes #371969
2006-11-07 12:24:13 +00:00
Andy Wingo
0650a27089 examples/: New tool, runs the discoverer on a file and prints out what we get.
Original commit message from CVS:
2006-11-07  Andy Wingo  <wingo@pobox.com>

* examples/Makefile.am (examples_DATA):
* examples/gst-discover: New tool, runs the discoverer on a file
and prints out what we get.
2006-11-07 11:47:26 +00:00
Edward Hervey
fb36295c7a gst/gst.override: Use a copy of the caps.
Original commit message from CVS:
* gst/gst.override:
Use a copy of the caps.
2006-11-03 15:54:47 +00:00
Edward Hervey
37f78c4ab8 configure.ac: 0.10.5.2 pre-release
Original commit message from CVS:
* configure.ac:
0.10.5.2 pre-release
2006-10-20 11:51:35 +00:00
Edward Hervey
83e76dd47d gst/gst-0.10.10.ignore: Added symbols added in 0.10.10
Original commit message from CVS:
* gst/gst-0.10.10.ignore:
Added symbols added in 0.10.10
* gst/gst-0.10.6.ignore:
gst_dp_packetizer_new() addition
* gst/gst.defs:
Updated API for 0.10.10 symbols
* gst/gstmodule.c: (init_gst):
Added GST_TAG_EXTENDED_COMMENT which appeared in 0.10.10
* gst/libs.defs:
Added gst_dp_packetizer_new() which was added in 0.10.6. It still won't
work because GstDPPacketizer is a pointer. It needs to have a GBoxed
definition in order to be used properly within gst-python.
Also added controller-related additions
2006-10-20 11:33:01 +00:00
Edward Hervey
ad1f511e6b Added ignore files for 0.10.11 gstreamer core
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.11.ignore:
* gst/gstversion.override.in:
Added ignore files for 0.10.11 gstreamer core
* gst/base.defs:
Updated API for base libs
* gst/gst.defs:
Updated API for core
* gst/gst.override:
remove #ifdef for methods which weren't available in versions of pygtk
we don't support anymore.
* gst/gstbase.override:
Added overrides for GstBaseSink::get_times() virtual method
* gst/gstbin.override:
Added override for GstBin::handle_message() virtual method
2006-10-20 10:41:46 +00:00
Edward Hervey
c8e5fc7402 examples/Makefile.am: Remove gst123 and vorbisplay.py from sources, and add decodebin.py
Original commit message from CVS:
* examples/Makefile.am:
Remove gst123 and vorbisplay.py from sources, and add decodebin.py
2006-10-20 09:51:25 +00:00
Edward Hervey
5b2c08ac37 examples/: Removed gst123 and vorbisplay examples which weren't working with 0.10, and replaced them with decodebin.py
Original commit message from CVS:
reviewed by: Edward Hervey  <edward@fluendo.com>
* examples/decodebin.py:
* examples/gst123:
* examples/vorbisplay.py:
Removed gst123 and vorbisplay examples which weren't working with
0.10, and replaced them with decodebin.py
Closes #362183 and #362202
2006-10-20 09:47:16 +00:00
Edward Hervey
71f58a44b4 examples/: Closes #362290 and #362272
Original commit message from CVS:
* examples/audioconcat.py:
* examples/cp.py:
Port to 0.10 by Jason Gerard DeRose <jderose@jasonderose.org>
Closes #362290 and #362272
* examples/bps.py:
Indentation fixes by Jason Gerard DeRose <jderose@jasonderose.org>
Closes #362011
Also small fix for Usage string
2006-10-20 09:27:43 +00:00
Tim-Philipp Müller
6d8f3a459f gst/gst.defs: Don't use 'interface' as variable name, MingW doesn't like that (fixes #359375).
Original commit message from CVS:
* gst/gst.defs:
Don't use 'interface' as variable name, MingW doesn't like that
(fixes #359375).
2006-10-16 14:46:19 +00:00
Tim-Philipp Müller
f49c8781e9 gst/pygstiterator.c: Printf format fix.
Original commit message from CVS:
* gst/pygstiterator.c: (pygst_iterator_new):
Printf format fix.
2006-10-05 18:27:58 +00:00
Edward Hervey
c79185a013 codegen/argtypes.py: Revert the UInt64Arg modifications from upstream. It forces us to give a PyLong, whereas we can ...
Original commit message from CVS:
* codegen/argtypes.py:
Revert the UInt64Arg modifications from upstream. It forces us to give
a PyLong, whereas we can directly use the 'K' argument parsing for that.
2006-10-03 09:24:11 +00:00
Edward Hervey
460307745b ltihooks.py: Removed
Original commit message from CVS:
* ltihooks.py:
Removed
* testsuite/common.py:
ltihooks is dead, long live gstltihooks. This should complete thomas'
fix of #357310.
2006-09-29 09:53:11 +00:00
Jan Schmidt
9f217d259f gst/Makefile.am: Explicitly export _PyGObject_API from our modules, as it's apparently needed for import. Previously ...
Original commit message from CVS:
* gst/Makefile.am:
Explicitly export _PyGObject_API from our modules, as it's apparently
needed for import. Previously we implicitly relied on a bug in the
core providing --export-dynamic as a link flag.
2006-09-28 10:03:22 +00:00
Thomas Vander Stichele
fb7c03d8cd Fix #357310
Original commit message from CVS:

* Makefile.am:
* gst/__init__.py:
* gstltihooks.py:
Fix #357310
2006-09-23 10:43:18 +00:00
Rene Stadler
75b33a6cab gst/gstlibs.override: Fixes for GstController creation memleak fixes.
Original commit message from CVS:
Patch by: Rene Stadler <mail@renestadler.de>
* gst/gstlibs.override:
Fixes for GstController creation
memleak fixes.
2006-09-22 13:21:59 +00:00
Edward Hervey
077452cf30 gst/extend/Makefile.am: Forgot to add 3 previous files to the Makefile so they get installed.
Original commit message from CVS:
* gst/extend/Makefile.am:
Forgot to add 3 previous files to the Makefile so they get
installed.
2006-09-12 11:16:08 +00:00
Edward Hervey
de855398a5 gst/extend/: Revival of the jukebox (and leveller) using 0.10 and gnonlin.
Original commit message from CVS:
* gst/extend/jukebox.py:
* gst/extend/leveller.py:
* gst/extend/sources.py:
Revival of the jukebox (and leveller) using 0.10 and gnonlin.
Still needs a bit of love, but functionnal enough.
2006-09-12 11:14:24 +00:00
Edward Hervey
422b65fed9 Give proper credits to the author of the patch
Original commit message from CVS:
Give proper credits to the author of the patch
2006-09-10 08:56:22 +00:00
Edward Hervey
bbdf0313b1 gst/libs.defs: Add definition for GstParamFlags, extension of the GParamFlags.
Original commit message from CVS:
* gst/libs.defs:
Add definition for GstParamFlags, extension of the GParamFlags.
Only contains one flag, gst.PARAM_CONTROLLABLE.
Closes #355150
2006-09-10 08:53:26 +00:00
Edward Hervey
9f017ec3e9 gst/gst-0.10.10.ignore: API addition
Original commit message from CVS:
* gst/gst-0.10.10.ignore:
API addition
* gst/gst.defs:
Added new ghostpad functions.
2006-08-31 14:03:44 +00:00
Edward Hervey
bef4334ee2 gst/gst.override: We don't own a reference on the elements contained in the list returned by gst_xml_get_topelements().
Original commit message from CVS:
* gst/gst.override:
We don't own a reference on the elements contained in the list
returned by gst_xml_get_topelements().
2006-08-29 10:05:40 +00:00
Edward Hervey
389ed247ab testsuite/test_pad.py: The bug was not a bug. Fixed the typo.
Original commit message from CVS:
* testsuite/test_pad.py:
The bug was not a bug. Fixed the typo.
2006-08-29 09:23:59 +00:00
Thomas Vander Stichele
7e1fa1d97e testsuite/test_pad.py: add a test for event probes - shows a bug, for which I commented the failUnless out
Original commit message from CVS:
* testsuite/test_pad.py:
add a test for event probes - shows a bug, for which I commented
the failUnless out
2006-08-29 07:43:42 +00:00
Edward Hervey
721bbf37c4 configure.ac: Whoops, typo error :)
Original commit message from CVS:
* configure.ac:
Whoops, typo error :)
2006-08-21 12:55:37 +00:00
Edward Hervey
ca806c5417 configure.ac: attempt to fix build.
Original commit message from CVS:
* configure.ac:
attempt to fix build.
2006-08-21 11:43:01 +00:00
Edward Hervey
bc234e3800 configure.ac: If pygobject is available, only build with it, else try to find pygtk to stay compatible with older ver...
Original commit message from CVS:
* configure.ac:
If pygobject is available, only build with it, else try to find pygtk
to stay compatible with older version.
* gst/Makefile.am:
Switch to pygobject CFLAGS.
* testsuite/Makefile.am:
Switch to pygobject CFLAGS.
2006-08-21 11:31:51 +00:00
Edward Hervey
c070c75beb codegen/codegen.py: newer pygobject's pyg_constant_strip_prefix() now return a const gchar * whereas PyModule_AddIntC...
Original commit message from CVS:
* codegen/codegen.py:
newer pygobject's pyg_constant_strip_prefix() now return a const gchar *
whereas PyModule_AddIntConstant() takes a normal gchar*.
Closes #349623
2006-08-08 19:21:51 +00:00
Andy Wingo
e462546b9a examples/synchronizer.py: Actually appears to work now, will have to try with guadec videos on Monday.
Original commit message from CVS:
2006-08-05  Andy Wingo  <wingo@pobox.com>

* examples/synchronizer.py: Actually appears to work now, will
have to try with guadec videos on Monday.

* examples/remuxer.py (PlayerWindow.create_ui): Disable the
auto-adjusting of cut in and cut out times, it's annoying.
2006-08-05 17:15:52 +00:00
Andy Wingo
3274a3ac03 examples/synchronizer.py: New file, a bit of a hack to remuxer.py, but for resyncing a bad ogg. Only UI at the moment..
Original commit message from CVS:
2006-08-04  Andy Wingo  <wingo@pobox.com>

* examples/synchronizer.py: New file, a bit of a hack to
remuxer.py, but for resyncing a bad ogg. Only UI at the moment..
2006-08-04 16:42:15 +00:00
Andy Wingo
990ca4912f changelog
Original commit message from CVS:
changelog
2006-07-28 13:56:43 +00:00
James Doc Livingston
fd2078bb04 examples/remuxer.py (RemuxBin._do_seek, Remuxer._bus_watch): Use normal seeks instead of segment seeks so that EOS is...
Original commit message from CVS:
2006-07-28  Andy Wingo  <wingo@pobox.com>

* examples/remuxer.py (RemuxBin._do_seek, Remuxer._bus_watch): Use
normal seeks instead of segment seeks so that EOS is handled
properly. Patch by James "Doc" Livingston <doclivingston at
gmail.com>. (#348416)

* examples/remuxer.py (RemuxBin._new_demuxed_pad): Increase the
buffer size for dealing with terribly muxed files.
2006-07-28 13:56:20 +00:00
Edward Hervey
d2372173a0 configure.ac: Back to development cycle
Original commit message from CVS:
* configure.ac:
Back to development cycle
2006-07-20 17:05:22 +00:00
Edward Hervey
56caaf8b7a 0.10.5 "My Little Poney wants some Funk" release
Original commit message from CVS:
0.10.5 "My Little Poney wants some Funk" release
----------------------------------------------------------------------
2006-07-20 17:03:57 +00:00
Edward Hervey
8ef500156b configure.ac: 0.10.4.2 pre-release
Original commit message from CVS:
* configure.ac: 0.10.4.2 pre-release
2006-07-19 14:21:36 +00:00
Edward Hervey
406f1b0fc8 Add new ignore for 0.10.10 API additions
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.10.ignore:
* gst/gstversion.override.in:
Add new ignore for 0.10.10 API additions
* gst/gst.defs:
Added definitions for new segtrap functions
2006-07-18 15:33:41 +00:00
Edward Hervey
26393eba9d gst/gstmodule.c: Added gst.BUFFER_OFFSET_NONE for proper (guint64) -1 conversion between python and C.
Original commit message from CVS:
* gst/gstmodule.c: (init_gst):
Added gst.BUFFER_OFFSET_NONE for proper (guint64) -1 conversion between
python and C.
2006-07-05 11:35:12 +00:00
Edward Hervey
ebed604ed8 gst/: Repeat 100 times : "I shouldn't commit patches without checking them thoroughly, especially if they come from s...
Original commit message from CVS:
* gst/gstelement.override:
* gst/gstevent.override:
* gst/gstmessage.override:
* gst/gstquery.override:
Repeat 100 times : "I shouldn't commit patches without checking
them thoroughly, especially if they come from someone I trust".
Fix the broken Py_BuildValue.
2006-07-03 14:44:20 +00:00
Thomas Vander Stichele
04387f3302 add gcov stuff
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* gst/Makefile.am:
add gcov stuff
2006-07-03 13:32:08 +00:00
Thomas Vander Stichele
fc67bb7842 gst/gstmodule.c: don't crash when error is NULL
Original commit message from CVS:
* gst/gstmodule.c: (init_gst):
don't crash when error is NULL
2006-07-03 13:31:19 +00:00
Edward Hervey
6992f7de67 gst/gstmessage.override: State change is a list and not a tuple
Original commit message from CVS:
* gst/gstmessage.override:
State change is a list and not a tuple
* gst/gstpad.override:
query_position() got busted in previous commit.
2006-07-03 09:31:26 +00:00
Edward Hervey
c52a37cd82 gst/: Use Py_BuildValue to construct tuples.
Original commit message from CVS:
reviewed by: Edward Hervey  <edward@fluendo.com>
* gst/gstelement.override:
* gst/gstevent.override:
* gst/gstmessage.override:
* gst/gstpad.override:
* gst/gstquery.override:
Use Py_BuildValue to construct tuples.
Use tuples for collection of different objects.
See http://www.python.org/doc/faq/general/#why-are-there-separate-tuple-and-list-data-types
* testsuite/test_event.py:
[message|query|event].parse_* now return tuples and not list.
Fixes #334548
2006-07-03 09:01:18 +00:00
Edward Hervey
1c5a18e82c Removal of all glib < 2.8 cruft since GStreamer core now requires glib >= 2.8
Original commit message from CVS:
Removal of all glib < 2.8 cruft since GStreamer core now requires
glib >= 2.8
* codegen/argtypes.py:
remove gstobject cruft from ObjectArg
* configure.ac:
Require glib >= 2.8.0
* gst/Makefile.am:
* gst/pygstobject.c:
* gst/pygstobject.h:
Remove pygstobject.[ch]
* gst/common.h:
Don't include removed header file.
* gst/gst.override:
* gst/gstbin.override:
* gst/gstbus.override:
* gst/gstelement.override:
* gst/gstelementfactory.override:
* gst/gstmessage.override:
* gst/gstobject.override:
* gst/gstpad.override:
* gst/interfaces.override:
* gst/pygstiterator.c: (pygst_iterator_iter_next):
Switch from using pygstobject* functions to using pygobject* functions.
* gst/gstmodule.c: (sink_gstobject), (init_gst):
Move GstObject sink function here and use standard gobject refcounting.
2006-07-02 15:25:04 +00:00
Edward Hervey
33b77c7759 configure.ac: 0.10.7 ignore file is for 0.10.7 AND 0.10.8 (due to brown paperbag release).
Original commit message from CVS:
* configure.ac: (GST_LIBS):
0.10.7 ignore file is for 0.10.7 AND 0.10.8 (due to brown paperbag
release).
2006-06-22 19:12:36 +00:00
Edward Hervey
cee7d60ee4 codegen/codegen.py: Always unblock threads when going to C.
Original commit message from CVS:
* codegen/codegen.py:
Always unblock threads when going to C.
* gst/gst.defs:
Revert unblock-threads noise.
2006-06-15 09:58:08 +00:00
Edward Hervey
a48e8b6e6b gst/gst-types.defs: Added fields for GstPadTemplate.
Original commit message from CVS:
* gst/gst-types.defs:
Added fields for GstPadTemplate.
* gst/gst.defs:
Made gst_element_class_get_template_list a GstElement method.
* gst/gstelement.override:
Override for gst.Element.get_template_list()
* gst/gstpad.override:
Override getter for GstStaticPadTemplate.static_caps so that it uses
the correct pointer.
2006-06-14 10:00:32 +00:00
Edward Hervey
90340f1908 testsuite/gstpython.supp: Keeping suppresions
Original commit message from CVS:
* testsuite/gstpython.supp:
Keeping suppresions
2006-06-13 17:43:40 +00:00