Commit graph

595 commits

Author SHA1 Message Date
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
Edward Hervey
3925d35f03 testsuite/gstpython.supp: Tim might have fixed this suppression. Commenting it.
Original commit message from CVS:
* testsuite/gstpython.supp:
Tim might have fixed this suppression. Commenting it.
2006-06-13 16:52:05 +00:00
Edward Hervey
2364764ea2 testsuite/gstpython.supp: One more suppression added to bug #344761
Original commit message from CVS:
* testsuite/gstpython.supp:
One more suppression added to bug #344761
2006-06-13 14:43:41 +00:00
Edward Hervey
095a66b690 .cvsignore: Ignore more files
Original commit message from CVS:
* .cvsignore:
Ignore more files
2006-06-13 13:45:33 +00:00
Edward Hervey
dd235df297 testsuite/gstpython.supp: Added suppresion for leaks of bug #344761.
Original commit message from CVS:
* testsuite/gstpython.supp:
Added suppresion for leaks of bug #344761.
2006-06-13 13:28:47 +00:00
Edward Hervey
15c83c45a0 Ignore log files.
Original commit message from CVS:
* .cvsignore:
* testsuite/.cvsignore:
Ignore log files.
2006-06-13 11:05:08 +00:00
Edward Hervey
dc62e40fd7 Makefile.am: Cleanup pygst.pyc file.
Original commit message from CVS:
* Makefile.am: (CLEANFILES):
Cleanup pygst.pyc file.
2006-06-13 10:59:44 +00:00
Edward Hervey
54b5a6bf6e gst/gst.defs: Add 'unblock-threads #t' for critical functions/methods.
Original commit message from CVS:
* gst/gst.defs:
Add 'unblock-threads #t' for critical functions/methods.
2006-06-13 10:55:09 +00:00
Edward Hervey
8c3aae3818 testsuite/: Added cleanup file to initialize registry before running checks.
Original commit message from CVS:
* testsuite/Makefile.am:
* testsuite/runtests.py:
* testsuite/cleanup.py:
Added cleanup file to initialize registry before running checks.
Added G_DEBUG=gc-friendly to valgrinding
Only test test_*.py files
2006-06-12 16:51:36 +00:00
Edward Hervey
744d54fc59 .cvsignore: more files to ignore
Original commit message from CVS:
* .cvsignore:
more files to ignore
2006-06-11 16:32:18 +00:00
Edward Hervey
098f0e4f39 pygst.py.in: Raise RequiredVersionError(ValueError, AssertionError) wherever applicable. This makes the new system (r...
Original commit message from CVS:
* pygst.py.in:
Raise RequiredVersionError(ValueError, AssertionError) wherever
applicable. This makes the new system (raising an error) compatible
with the old system (assertions).
Fixes #341114
2006-06-09 17:21:40 +00:00
Edward Hervey
2bd7a2b2e2 pygst.py.in: Don't import non-used modules
Original commit message from CVS:
* pygst.py.in:
Don't import non-used modules
* testsuite/Makefile.am:
Heavy valgrinding por favor !
(%.valgrind): with always-malloc for GSlice
2006-06-09 14:19:16 +00:00
Edward Hervey
981bd2cbd8 pygst.py.in: Don't import non-used modules
Original commit message from CVS:
* pygst.py.in:
Don't import non-used modules
* testsuite/Makefile.am:
Heavy valgrinding por favor !
2006-06-09 14:15:53 +00:00
Edward Hervey
bc17f73dcb codegen/: Updated codegenerator to current pygtk one.
Original commit message from CVS:
* codegen/Makefile.am:
* codegen/argtypes.py:
* codegen/codegen.py:
* codegen/definitions.py:
* codegen/defsconvert.py:
* codegen/defsparser.py:
* codegen/docextract.py:
* codegen/docextract_to_xml.py:
* codegen/docgen.py:
* codegen/h2def.py:
* codegen/mergedefs.py:
* codegen/missingdefs.py:
* codegen/mkskel.py:
* codegen/override.py:
* codegen/reversewrapper.py:
Updated codegenerator to current pygtk one.
* gst/gst.defs:
* gst/gst.override:
* gst/gstpad.override:
Update defs for new constructor definition.
* testsuite/test_bin.py:
With new constructors, pygobject will try to convert the argument to the
proper GType (here a string).
2006-06-09 10:50:21 +00:00
Edward Hervey
6189051361 gst/: Update for API additions.
Original commit message from CVS:
* gst/base.defs:
* gst/gst-0.10.7.ignore:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gstbase.override:
* gst/libs.defs:
Update for API additions.
* gst/gstmodule.c: (init_gst):
Added new GST_TAG_IMAGE and GST_TAG_PREVIEW_IMAGE
2006-06-09 10:12:16 +00:00
Edward Hervey
20469390bd gst/__init__.py: Make gst-python work on OS without dl.so
Original commit message from CVS:
reviewed by: Edward Hervey <edward@fluendo.com>
* gst/__init__.py:
Make gst-python work on OS without dl.so
Fixes #341799
2006-05-27 12:18:54 +00:00
Edward Hervey
78e97adb23 examples/filesrc.py: Port to 0.10.
Original commit message from CVS:
reviewed by: Edward Hervey <edward@fluendo.com>
* examples/filesrc.py: Port to 0.10.
2006-05-27 12:13:46 +00:00
Edward Hervey
b6866c55bf examples/audio-controller.py: Make it work with 0.10, still had cruft from 0.9
Original commit message from CVS:
* examples/audio-controller.py:
Make it work with 0.10, still had cruft from 0.9
2006-05-27 12:08:08 +00:00
Edward Hervey
01f935c116 Added ignore file for core 0.10.7
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.7.ignore:
* gst/gstversion.override.in:
Added ignore file for core 0.10.7
* gst/base.defs:
Added gst_adapter_take_buffer
* gst/gst-0.10.6.ignore:
Filed API addition for 0.10.6
* gst/gst-types.defs:
Added GstTypeFind pointer definition
* gst/gst.defs:
* gst/gst.override:
Added fake function gst_type_find_new() to create a GstTypeFind that can
be used in all typefinding function.
GstTypeFind *
gst_type_find_new(data, peekfunction, suggestfunction [, getlenghtfunction])
2006-05-19 08:48:22 +00:00
Edward Hervey
f92b4c9ef1 Update for API changes.
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.6.ignore:
* gst/gst.defs:
* gst/gstversion.override.in:
Update for API changes.
Added ignore files for core 0.10.6 API additions.
2006-05-09 14:24:02 +00:00
Edward Hervey
b6d166bd48 gst/gst.override: Reverting previous patches for conditional ignore.
Original commit message from CVS:
* gst/gst.override:
Reverting previous patches for conditional ignore.
It can't be done from within override files.
The only one left is the python gst_debug_log function
which will do nothing #ifdef GST_DISABLE_GST_DEBUG.
Also removed the conditional ignore for API changes since it didn't
have any effect either.
2006-05-09 14:00:10 +00:00
Edward Hervey
ac087e445e gst/gst.override: Better conditional ignore for types and methods.
Original commit message from CVS:
* gst/gst.override:
Better conditional ignore for types and methods.
2006-05-09 13:36:51 +00:00
Edward Hervey
b01b9197c7 codegen/: Added code to ignore type and the function/methods/classes that use them.
Original commit message from CVS:
* codegen/codegen.py:
* codegen/override.py:
Added code to ignore type and the function/methods/classes that use
them.
* gst/gst.override:
ignore methods/classes/types depending on how GStreamer core was built:
_ GST_DISABLE_GST_DEBUG
_ GST_DISABLE_LOADSAVE
_ GST_DISABLE_PARSE
2006-05-09 13:13:48 +00:00
Edward Hervey
6dc2d5f8fe testsuite/python.supp: Added suppressions for FC5 64 bit
Original commit message from CVS:
* testsuite/python.supp:
Added suppressions for FC5 64 bit
2006-05-09 10:25:17 +00:00
Edward Hervey
8fb6dbf1dd autogen.sh: libtoolize on Darwin/MacOSX is called glibtoolize
Original commit message from CVS:
* autogen.sh: (CONFIGURE_DEF_OPT):
libtoolize on Darwin/MacOSX is called glibtoolize
2006-05-08 11:59:56 +00:00
Andy Wingo
3aab962a4c examples/remuxer.py (PlayerWindow.update_scale_cb): Fix a race condition getting the initial cutin time via inserting...
Original commit message from CVS:
2006-05-05  Andy Wingo  <wingo@pobox.com>

* examples/remuxer.py (PlayerWindow.update_scale_cb): Fix a race
condition getting the initial cutin time via inserting whitespace.
(all over): UI fixes to make Mike happy.
2006-05-05 13:30:01 +00:00
Andy Wingo
bf5fe2593e examples/remuxer.py: Updates! Nothing gstreamery, it's all ui, so I won't bother you with the details.
Original commit message from CVS:
2006-05-05  Andy Wingo  <wingo@pobox.com>

* examples/remuxer.py: Updates! Nothing gstreamery, it's all ui,
so I won't bother you with the details.
2006-05-05 11:00:44 +00:00
Edward Hervey
4ec7c5c5d8 examples/gstfile.py: Threaded application, we NEED gobject.threads_init().
Original commit message from CVS:
* examples/gstfile.py:
Threaded application, we NEED gobject.threads_init().
This should finally gets rid of the crashes when used on single files.
* gst/extend/discoverer.py:
Re-order the imports.
2006-04-29 16:59:16 +00:00
Edward Hervey
0d89737bf7 gst/arg-types.py: Caps used as arguments of virtual methods should keep their initial refcount when calling the pytho...
Original commit message from CVS:
* gst/arg-types.py:
Caps used as arguments of virtual methods should keep their initial
refcount when calling the python methods.
This is similar to the patch done for GstMiniObjects.
* gst/gstbase.override:
Adjust the gst.BaseTransform.get_unit_size() virtual method for above
fix.
2006-04-28 17:35:26 +00:00
Edward Hervey
c2f10c765f gst/gstbase.override: gst.BaseTransform.get_unit_size() virtual method override.
Original commit message from CVS:
reviewed by: Edward Hervey  <edward@fluendo.com>
* gst/gstbase.override:
gst.BaseTransform.get_unit_size() virtual method override.
Closes #339248
2006-04-28 15:23:52 +00:00
Edward Hervey
31033595e4 gst/arg-types.py: GstMiniObject used as virtual methods parameters should be unreffed before calling the method and t...
Original commit message from CVS:
* gst/arg-types.py:
GstMiniObject used as virtual methods parameters should be unreffed
before calling the method and the ref-ed.
Added Params and Returns for const-gchar*, GType and gulong so the
code generator can generate more virtual methods handlers/proxys.
* gst/gst-types.defs:
* gst/gst.defs:
* gst/interfaces.defs:
Added vtable and virtual method definition for interfaces so we can properly use virtual
methods from those interfaces in python.
2006-04-28 15:07:41 +00:00
Edward Hervey
726357893f gst/gstmodule.c: Wrap the gstreamer error domains quark.
Original commit message from CVS:
* gst/gstmodule.c: (init_gst):
Wrap the gstreamer error domains quark.
Fixes #339040
2006-04-28 14:54:45 +00:00
Edward Hervey
06033e6279 gst/gstpad.override (pad_block_callback_marshal)
Original commit message from CVS:
* gst/gstpad.override (pad_block_callback_marshal)
(_wrap_gst_pad_set_blocked_async): Fix refcounting problems and
indent.
Fixes #338982
2006-04-28 14:51:52 +00:00
Thomas Vander Stichele
0eb826e6e5 back to HEAD
Original commit message from CVS:
back to HEAD
2006-04-28 14:07:38 +00:00
Thomas Vander Stichele
9a61ac5af2 releasing 0.10.4
Original commit message from CVS:
releasing 0.10.4
2006-04-28 14:06:21 +00:00
Andy Wingo
ebf47e1442 gst/arg-types.py (GstCapsArg.write_const_param)
Original commit message from CVS:
2006-04-19  Andy Wingo  <wingo@pobox.com>

* gst/arg-types.py (GstCapsArg.write_const_param)
(GstCapsArg.write_param): If there is a default value, initialize
the py_caps variable to NULL. PyArgs_Parse* doesn't touch c
variables if the optional arg isn't there. Fixes #339010.
2006-04-19 12:04:19 +00:00
Andy Wingo
f0a20f8343 examples/remuxer.py (GstPlayer.seek): Don't do accurate seeks, because the output won't be readable without a keyfram...
Original commit message from CVS:
2006-04-19  Andy Wingo  <wingo@pobox.com>

* examples/remuxer.py (GstPlayer.seek): Don't do accurate seeks,
because the output won't be readable without a keyframe anyway.
2006-04-19 11:58:14 +00:00