Commit graph

700 commits

Author SHA1 Message Date
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
Alessandro Decina
47a3d6fd28 Wrap gst_type_find_peek.
Original commit message from CVS:
* gst/gst.override:
* testsuite/test_typefind.py:
Wrap gst_type_find_peek.
2008-11-19 16:54:58 +00:00
Alessandro Decina
74a5097ae0 gst/: Add GstBaseTransform::transform_size virtual.
Original commit message from CVS:
* gst/base.defs:
* gst/gstbase.override:
Add GstBaseTransform::transform_size virtual.
2008-11-08 12:16:31 +00:00
Alessandro Decina
e9bf8a0868 gst/__init__.py: Fix on systems that don't have dlopen or don't support RTLD_GLOBAL and
Original commit message from CVS:
reviewed by: Edward Hervey <edward.hervey@collabora.co.uk>
* gst/__init__.py:
Fix on systems that don't have dlopen or don't support RTLD_GLOBAL and
RTLD_LAZY.
2008-11-08 11:49:30 +00:00
Jan Schmidt
d5c7296122 gst/gst.override: Fix compiler warning about missing format string.
Original commit message from CVS:
* gst/gst.override:
Fix compiler warning about missing format string.
2008-11-07 22:29:06 +00:00
Jan Schmidt
5191ada3aa configure.ac: Back to development -> 0.10.13.1
Original commit message from CVS:
* configure.ac:
Back to development -> 0.10.13.1
2008-10-05 11:36:16 +00:00
Thiemo Seufer
f03c4cc922 gst/__init__.py: Use correct values for RTLD_GLOBAL and RTLD_LAZY on Linux/MIPS as the values are different there fro...
Original commit message from CVS:
Patch by: Thiemo Seufer <ths at networkno dot de>
* gst/__init__.py:
Use correct values for RTLD_GLOBAL and RTLD_LAZY on Linux/MIPS
as the values are different there from all other Linux platforms.
Fixes bug #553134.
2008-10-05 08:16:38 +00:00
Alexander Wirt
9fc25718b5 gst/__init__.py: Import modules in the correct order, i.e. libxml2 before
Original commit message from CVS:
Patch by: Alexander Wirt <formorer at debian dot org>
* gst/__init__.py:
Import modules in the correct order, i.e. libxml2 before
GStreamer stuff, to prevent unresolved symbols. Fixes bug #553131.
2008-10-05 08:14:42 +00:00
Jan Schmidt
94b4bf7f41 Release 0.10.13
Original commit message from CVS:
Release 0.10.13
2008-10-03 00:08:42 +00:00
Jan Schmidt
61bdfdd79a configure.ac: 0.10.20.2 pre-release
Original commit message from CVS:
* configure.ac:
0.10.20.2 pre-release
2008-09-17 13:37:30 +00:00
Edward Hervey
490f3fde52 Add API additions for upcoming 0.10.21 core release
Original commit message from CVS:
* configure.ac:
* gst/base.defs:
* gst/gst-0.10.21.ignore:
* gst/gst.defs:
* gst/gstversion.override.in:
Add API additions for upcoming 0.10.21 core release
2008-09-09 10:41:27 +00:00
Brian Cameron
94a232fdbf examples/pipeline-tester: Don't hardcode audio/video source and sinks, and instead use more generic sources.
Original commit message from CVS:
* examples/pipeline-tester:
Don't hardcode audio/video source and sinks, and instead use more
generic sources.
Based on a patch by Brian Cameron <brian.cameron@sun.com>
Fixes #517993
2008-09-04 17:57:50 +00:00
Edward Hervey
3b20dd082d gst/gstcaps.override: Override gst_caps_append_structure() and make a copy of the structure given as argument.
Original commit message from CVS:
* gst/gstcaps.override:
Override gst_caps_append_structure() and make a copy of the structure
given as argument.
Fixes #549450
2008-08-26 15:58:15 +00:00
Edward Hervey
d17feec22d gst/: Add gstdebugutils.[ch] methods that weren't wrapped previously.
Original commit message from CVS:
* gst/gst-0.10.15.ignore:
* gst/gst-types.defs:
* gst/gst.defs:
Add gstdebugutils.[ch] methods that weren't wrapped previously.
We can now dump pipeline graphviz files from python ! :)
2008-08-11 16:40:45 +00:00
Edward Hervey
8c5646ea9e update upstream API changes
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/base.defs:
* gst/gst-0.10.18.ignore:
* gst/gst-0.10.20.ignore:
* gst/gst-pb-0.10.18.ignore:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gstversion.override.in:
* gst/interfaces.defs:
update upstream API changes
2008-07-02 11:23:39 +00:00
Edward Hervey
4373919e96 testsuite/test_interface.py: Don't hardcode 'alsasrc' for testing GstMixer and GstPropertyProbe interfaces, but inste...
Original commit message from CVS:
* testsuite/test_interface.py:
Don't hardcode 'alsasrc' for testing GstMixer and GstPropertyProbe
interfaces, but instead search one through the registry.
If none are available, return gracefully.
2008-06-27 10:42:38 +00:00
Edward Hervey
99cbd6dec4 testsuite/test_xml.py: Don't attempt to test gst.XML if there's no available libxml2 module.
Original commit message from CVS:
* testsuite/test_xml.py:
Don't attempt to test gst.XML if there's no available libxml2 module.
2008-06-27 10:29:58 +00:00
Jan Schmidt
468cb05597 gst/gstbuffer.override: the GstBuffer overrides seem to be confused about whether they're mini-objects or a GBoxed, a...
Original commit message from CVS:
* gst/gstbuffer.override:
the GstBuffer overrides seem to be confused about whether they're
mini-objects or a GBoxed, and it makes copy_on_write no actually
return a usable gst.Buffer. Fix up places where GstBuffers are
treated as GBoxed to use pygstminiobject functions.
Makes gst.Buffer('blah').copy_on_write() work.
* testsuite/test_buffer.py:
Add test for copy-on-write writability
* examples/buffer-draw.py:
Add an example of drawing on a GStreamer buffer with cairo
* gst/gstpad.override:
Make function static
2008-06-27 08:39:37 +00:00
Edward Hervey
103e13fa66 gst/: Fix double-import issues on macosx.
Original commit message from CVS:
* gst/common.h:
* gst/gstmodule.c:
* gst/interfaces.override:
* gst/pbutils.override:
* gst/pygstiterator.c:
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
Fix double-import issues on macosx.
Fixes #461838
2008-06-26 14:57:29 +00:00
Edward Hervey
4e33f9fdcc gst/gstmodule.c: Return None if GstMiniObject GValue doesn't contain anything (NULL).
Original commit message from CVS:
* gst/gstmodule.c: (pygstminiobject_from_gvalue):
Return None if GstMiniObject GValue doesn't contain anything (NULL).
Fixes #540221
2008-06-26 09:14:51 +00:00
Jan Schmidt
f2505d6ec6 configure.ac: Bump version back to dev -> 0.10.12.1
Original commit message from CVS:
* configure.ac:
Bump version back to dev -> 0.10.12.1
2008-06-20 08:55:48 +00:00
Jan Schmidt
eb20ecac9b Release 0.10.12
Original commit message from CVS:
Release 0.10.12
2008-06-18 14:50:35 +00:00
Edward Hervey
d0899f282d configure.ac: 0.10.11.3 pre-release
Original commit message from CVS:
* configure.ac:
0.10.11.3 pre-release
2008-06-13 11:21:27 +00:00
Edward Hervey
6c881f6ab6 Re-opens #530417
Original commit message from CVS:
* gst/__init__.py:
* gst/gstelement.override:
* testsuite/test_element.py:
Revert 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
Re-opens #530417
2008-06-13 11:11:38 +00:00
Edward Hervey
7e06ad12c6 Re-opens #514717
Original commit message from CVS:
* gst/gstpad.override:
* testsuite/test_pad.py:
Revert 2008-02-10  Alessandro Decina  <alessandro@nnva.org>
Re-opens #514717
2008-06-12 11:11:49 +00:00
Jan Schmidt
98c131e13d configure.ac: 0.10.11.2 pre-release
Original commit message from CVS:
* configure.ac:
0.10.11.2 pre-release
2008-06-05 09:51:17 +00:00
Edward Hervey
a70c226dc3 gst/gstevent.override: gst_event_new_tag takes ownership of the GstTagList given as argument, therefore make a copy b...
Original commit message from CVS:
* gst/gstevent.override:
gst_event_new_tag takes ownership of the GstTagList given
as argument, therefore make a copy before calling the
C function.
Fixes #534888
2008-05-26 10:20:06 +00:00
Edward Hervey
cf22542b26 gst/extend/discoverer.py: Add timeout property.
Original commit message from CVS:
* gst/extend/discoverer.py:
Add timeout property.
Fix typos.
Beautify debugging.
Fix email.
2008-05-17 13:13:05 +00:00
Jan Schmidt
8fef95c5c2 gst/__init__.py: Make gst.Fraction simplify like the C counterpart
Original commit message from CVS:
Patch by: Jan Schmidt <thaytan at mad dot scientist dot com>
* gst/__init__.py:
Make gst.Fraction simplify like the C counterpart
Fixes #532809
2008-05-14 16:00:39 +00:00
Edward Hervey
e94ff65809 gst/gstcaps.override: Fix typo
Original commit message from CVS:
* gst/gstcaps.override:
Fix typo
2008-05-14 15:48:18 +00:00
Johan Dahlin
98d6484e8c New 'fancy' constructor for gst.Element, allows creating elements in a more pythonic way (i.e. myelement = gst.Elemen...
Original commit message from CVS:
Patch by: Johan Dahlin  <johan at gnome dot org>
* gst/__init__.py:
* gst/gstelement.override:
* testsuite/test_element.py:
New 'fancy' constructor for gst.Element, allows creating elements in a
more pythonic way (i.e. myelement = gst.Element("oggmux")).
Fixes #530417
2008-05-08 14:06:45 +00:00
Edward Hervey
5119268c19 gst/: Fix broken indentation
Original commit message from CVS:
* gst/__init__.py:
* gst/arg-types.py:
Fix broken indentation
Fixes #531697
2008-05-08 14:03:17 +00:00
Edward Hervey
d61ee05178 gst/: Use G_GSSIZE_FORMAT for ssize_t types.
Original commit message from CVS:
* gst/gst.override:
* gst/gstbuffer.override:
Use G_GSSIZE_FORMAT for ssize_t types.
Fixes build on macosx.
2008-05-08 10:59:48 +00:00
Alessandro Decina
4dd104c632 gst/gst.override: Add wrapping of gst_type_find_register.
Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* gst/gst.override:
Add wrapping of gst_type_find_register.
Fixes #529728
2008-04-28 10:49:03 +00:00
Alessandro Decina
0574bbf304 gst/gstelementfactory.override: Release GIL in gst_element_factory_overrides.
Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* gst/gstelementfactory.override:
Release GIL in gst_element_factory_overrides.
Fixes #529731
2008-04-28 10:36:10 +00:00
Jan Schmidt
839bc5b0d4 examples/: Sync with the X server before giving an XID to our sink with a different display connection. This avoids s...
Original commit message from CVS:
* examples/play.py:
* examples/remuxer.py:
* examples/switch.py:
* examples/synchronizer.py:
Sync with the X server before giving an XID to our sink with a different
display connection. This avoids spurious X servers where the sink's
display connection doesn't know the XID that the GDK thread's does.
2008-04-24 11:35:38 +00:00
Damien Lespiau
18e711131e configure.ac: Actually build dlls when cross-compiling with mingw32.
Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* configure.ac:
Actually build dlls when cross-compiling with mingw32.
Fixes bug #526247.
2008-04-06 08:58:39 +00:00
Jan Schmidt
b8f41c5edb configure.ac: Back to development - 0.10.11.1
Original commit message from CVS:
* configure.ac:
Back to development - 0.10.11.1
2008-03-21 00:37:01 +00:00
Jan Schmidt
355a8d2132 Release 0.10.11
Original commit message from CVS:
Release 0.10.11
2008-03-21 00:31:44 +00:00
Jan Schmidt
57b45c787d configure.ac: 0.10.10.2 pre-release
Original commit message from CVS:
* configure.ac:
0.10.10.2 pre-release
2008-03-04 00:31:22 +00:00
Rene Stadler
62bb670b67 gst/gst.override: Don't crash by unreffing NULL when calling the do_get_protocols_full method raises an exception.
Original commit message from CVS:
* gst/gst.override:
(_wrap_GstURIHandler__proxy_do_get_protocols_full):
Don't crash by unreffing NULL when calling the
do_get_protocols_full method raises an exception.
2008-02-29 12:37:43 +00:00
Edward Hervey
c68b638588 Fix memleak in gst.Pad.set_blocked_async()
Original commit message from CVS:
reviewed by: Edward Hervey  <edward.hervey@collabora.co.uk>
* gst/gstpad.override:
* testsuite/test_pad.py:
Fix memleak in gst.Pad.set_blocked_async()
Fixes #514717
2008-02-10 13:33:26 +00:00