Commit graph

527 commits

Author SHA1 Message Date
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
Andy Wingo
4a4637e756 examples/remuxer.py: Another code dump. I know it breaks the freeze but it's just a wee example :)
Original commit message from CVS:
2006-04-19  Andy Wingo  <wingo@pobox.com>

* examples/remuxer.py: Another code dump. I know it breaks the
freeze but it's just a wee example :)
2006-04-19 08:50:48 +00:00
Edward Hervey
e7c477c793 gst/gsttaglist.override: Return tag value if present more than once (instead of exactly once).
Original commit message from CVS:
* gst/gsttaglist.override: (tag_foreach_func_list):
Return tag value if present more than once (instead of exactly once).
Fixes #337876
2006-04-10 14:47:19 +00:00
Edward Hervey
b07c954fb9 codegen/argtypes.py: Update from upstream codegen for UInt argtype.
Original commit message from CVS:
* codegen/argtypes.py:
Update from upstream codegen for UInt argtype.
* gst/gst-types.defs:
Added GstIndexEntry boxed type.
* gst/gstbase.override:
Wrapped gst.BaseSrc::get_times() and gst.PushSrc::create() virtual
methods.
gst.BaseSrc and gst.PushSrc virtual methods are now completely wrapped.
2006-04-10 09:21:09 +00:00
Stefan Kost
3d27036e7a testsuite/test-object.h: Fix broken GObject macros
Original commit message from CVS:
* testsuite/test-object.h:
Fix broken GObject macros
2006-04-08 18:46:44 +00:00
Andy Wingo
6bdf0cec7b examples/remuxer.py: Code dump, work in progress...
Original commit message from CVS:
2006-04-07  Andy Wingo  <wingo@pobox.com>

* examples/remuxer.py: Code dump, work in progress...
2006-04-07 18:33:35 +00:00
Edward Hervey
2afe4a0c32 testsuite/test_ghostpad.py: more assertions to figure out an speed issue.
Original commit message from CVS:
* testsuite/test_ghostpad.py:
more assertions to figure out an speed issue.
2006-04-07 17:58:18 +00:00
Andy Wingo
8f0143c56e gst/arg-types.py (GstCapsArg.beforenull): py_caps can be NULL if it is an optional argument. Translate this python no...
Original commit message from CVS:
2006-04-07  Andy Wingo  <wingo@pobox.com>

* gst/arg-types.py (GstCapsArg.beforenull): py_caps can be NULL if
it is an optional argument. Translate this python non-value to the
C NULL.

* gst/gst.defs (get_compatible_pad): Filter caps is optional and
can be None. It defaults to None.
2006-04-07 17:21:27 +00:00
Edward Hervey
51352b1a2e Makefile.am: make check-valgrind calls make valgrind in the testsuite directory.
Original commit message from CVS:
* Makefile.am:
make check-valgrind calls make valgrind in the testsuite directory.
* testsuite/Makefile.am:
prepend $(top_srcdir) to PYTHONPATH for all tests so it uses the built
library and not the installed one.
* testsuite/python.supp:
Added suppressions discovered on x86/gentoo.
2006-04-07 15:41:00 +00:00
Andy Wingo
182840a50d gst/gstelement.override (_wrap_gst_element_link): Allow errors parsing the optional filter caps to propagate up.
Original commit message from CVS:
2006-04-07  Andy Wingo  <wingo@pobox.com>

* gst/gstelement.override (_wrap_gst_element_link): Allow errors
parsing the optional filter caps to propagate up.
2006-04-07 14:54:49 +00:00
Andy Wingo
59667a31a7 gst/gst.defs (element_make_from_uri): Element name is optional and can be None. It defaults to None.
Original commit message from CVS:
2006-04-07  Andy Wingo  <wingo@pobox.com>

* gst/gst.defs (element_make_from_uri): Element name is optional
and can be None. It defaults to None.
2006-04-07 14:32:08 +00:00
Edward Hervey
5b30271cd3 testsuite/test_message.py: GstBus is flushing in NULL, so we need to set the pipeline to READY in order to receive th...
Original commit message from CVS:
* testsuite/test_message.py:
GstBus is flushing in NULL, so we need to set the pipeline to READY in
order to receive the messages in the bus watch.
2006-04-05 17:05:43 +00:00
Andy Wingo
b3fb726a67 configure.ac (PYGST_MICRO_VERSION): Doc fix.
Original commit message from CVS:
2006-04-05  Andy Wingo  <wingo@pobox.com>

* configure.ac (PYGST_MICRO_VERSION): Doc fix.
(PYGST_NANO_VERSION): New define.

* gst/__init__.py (version): Add as an alias for get_gst_version.
Should use the deprecation infrastructure here.

* gst/gst.defs: Add defs for the new wrapped functions.

* gst/gst.override (_wrap_gst_get_pygst_version)
(_wrap_gst_get_gst_version): New overrides, functions to access
the gstreamer and pygst versions. The first used to be called
gst_version(); we ignore gst_version now.
2006-04-05 11:55:48 +00:00
Andy Wingo
fda4bddb99 gst/gstpad.override (_wrap_gst_pad_set_blocked_async): PyObject_IsTrue, not PyBool_Check. Grr.
Original commit message from CVS:
2006-04-05  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.override (_wrap_gst_pad_set_blocked_async):
PyObject_IsTrue, not PyBool_Check. Grr.
2006-04-05 08:37:32 +00:00
Edward Hervey
3136c7ef6d gst/gst.defs: gst_element_post_message: Adding keep-refcount tag to the message since the function will unref it.
Original commit message from CVS:
* gst/gst.defs:
gst_element_post_message: Adding keep-refcount tag to the message since
the function will unref it.
2006-04-04 16:16:46 +00:00
Thomas Vander Stichele
f77edff104 configure.ac: use AS_VERSION and AS_NANO
Original commit message from CVS:

* configure.ac:
use AS_VERSION and AS_NANO
2006-04-01 10:07:07 +00:00
Andy Wingo
a94b05add5 examples/remuxer.py: Example GUI for a remuxer, unfinished -- dropping it here while I hack on it. Based on player.py.
Original commit message from CVS:
2006-03-31  Andy Wingo  <wingo@pobox.com>

* examples/remuxer.py: Example GUI for a remuxer, unfinished --
dropping it here while I hack on it. Based on player.py.

* examples/Makefile.am (examples_DATA): Add remuxer.py, reorder
list.
2006-03-31 17:12:50 +00:00
David I. Lehn
7fb1ff1253 configure.ac: Better empty string test fix for "Fixes to how we figure out what API to ignore"
Original commit message from CVS:
* configure.ac:
Better empty string test fix for "Fixes to how we figure out what API
to ignore"
2006-03-30 03:46:56 +00:00
Edward Hervey
183e0f7210 configure.ac: Fixes in how we figure out what API to ignore
Original commit message from CVS:
* configure.ac:
Fixes in how we figure out what API to ignore
* gst/Makefile.am:
* gst/gst-0.10.5.ignore:
* gst/gstversion.override.in:
Added file for handling API additions for gstreamer 0.10.5
* gst/base.defs:
* gst/gst.defs:
New API
* gst/gstpad.override:
Overrides for gst.Pad.query_peer_*()
2006-03-24 11:07:22 +00:00
Jan Schmidt
e272ffe3bb configure.ac: releasing 0.10.3, "Maybe not today. Maybe not tomorrow, but soon..."
Original commit message from CVS:
=== release 0.10.3 ===

2006-03-21  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
releasing 0.10.3, "Maybe not today. Maybe not tomorrow, but soon..."
2006-03-21 21:48:08 +00:00
Jan Schmidt
302cdc4a1d testsuite/: Another attempt at making the tests deterministic on the buildbots
Original commit message from CVS:
* testsuite/test_ghostpad.py:
* testsuite/test_pad.py:
Another attempt at making the tests deterministic on the buildbots
2006-03-21 14:01:07 +00:00
Jan Schmidt
b327222179 configure.ac: pre-release 0.10.2.2
Original commit message from CVS:
2006-03-20  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
pre-release 0.10.2.2
2006-03-21 00:14:38 +00:00
Jan Schmidt
883b41a9ff testsuite/test_ghostpad.py: Add while loop in teardown to wait for the pipeline state to hit NULL. Hopefully this wil...
Original commit message from CVS:
* testsuite/test_ghostpad.py:
Add while loop in teardown to wait for the pipeline state
to hit NULL. Hopefully this will ensure the refcount has always hit 1.
2006-03-20 19:08:34 +00:00
Edward Hervey
e97416a785 configure.ac: Only require GStreamer core >= 0.10.2
Original commit message from CVS:
* configure.ac:
Only require GStreamer core >= 0.10.2
Detect version of core the bindings are being compiled against and
write gst/gstversion.override file with eventual API additions that
should be ignored.
* gst/Makefile.am:
* gst/base.defs:
Added gst_base_sync_[set|get]_[sync|max_lateness]() and
gst_type_find_helper_get_range() definitions
* gst/gst-0.10.3.ignore:
API added in gstreamer core 0.10.3
* gst/gst-0.10.4.ignore:
API added in gstreamer core 0.10.4
* gst/gst.override:
Include gstversion.override.
* gst/gstversion.override.in:
Magic file for API additions to ignore.
2006-03-14 12:56:46 +00:00
Edward Hervey
53e67e611a codegen/: New --extendpath option for codegenerator so we can add extra path to search for included override files.
Original commit message from CVS:
* codegen/codegen.py:
* codegen/override.py:
New --extendpath option for codegenerator so we can add
extra path to search for included override files.
2006-03-14 12:25:22 +00:00
Edward Hervey
282abc30ff gst/: Added base elements override file.
Original commit message from CVS:
* gst/Makefile.am:
* gst/gst.override:
* gst/gstbase.override:
Added base elements override file.
* gst/gstpad.override:
Added override for gst_pad_alloc_buffer_and_set_caps
2006-03-13 11:19:10 +00:00
Edward Hervey
ecc0f5d932 gst/gst.override: Commited a bit too much :)
Original commit message from CVS:
* gst/gst.override:
Commited a bit too much :)
2006-03-10 11:28:01 +00:00
Edward Hervey
9c81750346 gst/base.defs: typo fix for gst_type_find_helper()
Original commit message from CVS:
* gst/base.defs:
typo fix for gst_type_find_helper()
Added new API : gst_type_find_helper_for_buffer()
* gst/gst.override:
override for gst.type_find_helper_for_buffer()
2006-03-10 11:22:31 +00:00
Edward Hervey
7c377f9596 gst/: Added new API: gst_pipeline_[get|set]_auto_flush_bus() gst_uri_has_protocol()
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added new API:
gst_pipeline_[get|set]_auto_flush_bus()
gst_uri_has_protocol()
GST_RESOURCE_ERROR_NO_SPACE_LEFT
2006-03-10 10:54:40 +00:00
Edward Hervey
455c2109fa gst/arg-types.py: Add ReturnType and Parameter for GstCaps.
Original commit message from CVS:
* gst/arg-types.py:
Add ReturnType and Parameter for GstCaps.
This allows the codegenerator to wrap properly more virtual proxies.
2006-03-07 19:44:35 +00:00
Edward Hervey
04d31802b9 gst/base.defs: Update for new check_get_range virtual method in GstBaseSrc
Original commit message from CVS:
* gst/base.defs:
Update for new check_get_range virtual method in GstBaseSrc
2006-03-07 19:08:43 +00:00
Michael Smith
d64761af50 gst/: Don't leak PyObjects wrapping GValues when indexing into a
Original commit message from CVS:
* gst/gststructure.override:
* gst/gsttaglist.override:
Don't leak PyObjects wrapping GValues when indexing into a
GStStructure. Also fix a copy/paste identical bug in taglists.
2006-03-06 16:24:53 +00:00
Edward Hervey
9fdbc6b987 gst/pygstminiobject.h: Some crack distributions do weirdo stuff with PYGIL_API_IS_BUGGY.
Original commit message from CVS:
* gst/pygstminiobject.h:
Some crack distributions do weirdo stuff with PYGIL_API_IS_BUGGY.
Let's keep our own detection.
Closes #333055
2006-03-02 09:40:13 +00:00
Jan Schmidt
af5d1afeba pygst.py.in: Fix a silly logic inversion typo
Original commit message from CVS:
* pygst.py.in:
Fix a silly logic inversion typo
2006-02-28 00:17:45 +00:00
Edward Hervey
18136f0905 pygst.py.in: use 'raise StandardError' instead of 'assert' so that compiled code raise a noticeable exception.
Original commit message from CVS:
* pygst.py.in:
use 'raise StandardError' instead of 'assert' so that compiled code
raise a noticeable exception.
Closes #332586
2006-02-27 16:22:10 +00:00
Edward Hervey
37e88dd9f6 gst/gstmodule.c: gst.gst_version uses the result of gst_version() rather than use the GST_VERSION_* hardcoded values.
Original commit message from CVS:
reviewed by: Edward Hervey  <edward@fluendo.com>
* gst/gstmodule.c: (init_gst):
gst.gst_version uses the result of gst_version() rather than use
the GST_VERSION_* hardcoded values.
Closes #331616
2006-02-22 10:16:33 +00:00
Edward Hervey
54686622a1 examples/vumeter.py: In fact it wasn't an application message, but an element message :)
Original commit message from CVS:
* examples/vumeter.py:
In fact it wasn't an application message, but an element message :)
2006-02-20 18:07:59 +00:00
Zaheer Abbas Merali
a73fac4769 fix vumeter example
Original commit message from CVS:
fix vumeter example
2006-02-20 16:58:14 +00:00
Edward Hervey
c690bf507f gst/: Updated and properly wrapped new GstQuery formats API.
Original commit message from CVS:
* gst/gst.defs:
* gst/gstquery.override:
Updated and properly wrapped new GstQuery formats API.
2006-02-17 15:35:34 +00:00
Andy Wingo
e8df8fe73c gst/gst.defs (disable_sync_message_emission)
Original commit message from CVS:
2006-02-10  Andy Wingo  <wingo@pobox.com>

* gst/gst.defs (disable_sync_message_emission)
(enable_sync_message_emission): Wrap new functions from GStreamer
CVS.

* configure.ac (GST_REQ): Require GStreamer 0.10.3.1.

* examples/play.py: A bit of refactoring. Make use of the
sync-message signals. Reacts to events on the bus. Keeps aspect
ratio. Better scrubbing, play/pause button instead of
play+pause+stop. Not a bad player now, although the code still
lacks cleanliness.
2006-02-10 17:49:47 +00:00
Andy Wingo
44a2c63fc6 examples/play.py (GstPlayer.query_position)
Original commit message from CVS:
2006-02-10  Andy Wingo  <wingo@pobox.com>

* examples/play.py (GstPlayer.query_position)
(PlayerWindow.update_scale_cb): Only return position, duration
from query_position -- fixes a bugaboo.
(main): Add some input validation.

* examples/pipeline-tester (data): Add a pipeline to test software
scaling.
2006-02-10 10:53:22 +00:00
Edward Hervey
e11b1fcafa gst/: Remove deprecated code dating back from 0.8 era.
Original commit message from CVS:
* gst/gst.override:
* gst/gstmodule.c: (python_do_pending_calls):
Remove deprecated code dating back from 0.8 era.
2006-02-07 18:54:52 +00:00
Andy Wingo
fd727fd969 codegen/argtypes.py (UInt64Arg.write_param): Parse long arguments using ParseTuple and friends; allows ints to passed...
Original commit message from CVS:
2006-02-06  Andy Wingo  <wingo@pobox.com>

* codegen/argtypes.py (UInt64Arg.write_param): Parse long
arguments using ParseTuple and friends; allows ints to passed for
longs as a side benefit.
2006-02-06 16:24:23 +00:00
Edward Hervey
b92ae45a82 gst/gst.override: (gst.TIME_ARGS) return "CLOCK_TIME_NONE" for invalid times instead of outputing gibberish value.
Original commit message from CVS:
* gst/gst.override:
(gst.TIME_ARGS) return "CLOCK_TIME_NONE" for invalid times instead of
outputing gibberish value.
2006-02-02 16:30:01 +00:00
Edward Hervey
b36f73ee11 gst/gst.defs: Update for current GStreamer core API
Original commit message from CVS:
* gst/gst.defs:
Update for current GStreamer core API
2006-02-02 15:54:07 +00:00
Edward Hervey
a21b83f5f5 testsuite/test_event.py: Properly use tempfile
Original commit message from CVS:
* testsuite/test_event.py:
Properly use tempfile
2006-02-01 16:37:41 +00:00
Edward Hervey
0ce8abe73d gst/gst.defs: When using gst.Element.send_event() and gst.Pad.send_event() we keep a refcount on the sent event.
Original commit message from CVS:
* gst/gst.defs:
When using gst.Element.send_event() and gst.Pad.send_event() we keep
a refcount on the sent event.
* testsuite/test_event.py:
Uncomment test to prove above fix
2006-02-01 14:19:55 +00:00
Thomas Vander Stichele
d763780e7f testsuite/test_event.py: add a test case for autoplugging behaviour: create a source, connect probes, store new-segme...
Original commit message from CVS:

* testsuite/test_event.py:
add a test case for autoplugging behaviour:
create a source, connect probes, store new-segment event,
add element in buffer probe callback, and forward event
Currently fails due to refcounting on the stored new-segment
event
2006-02-01 11:52:04 +00:00
Thomas Vander Stichele
2f3f34b7af testsuite/test_element.py: add another link test
Original commit message from CVS:
2006-02-01  Thomas Vander Stichele  <thomas at apestaart dot org>

* testsuite/test_element.py:
add another link test
2006-02-01 11:14:20 +00:00
Edward Hervey
b06a9be61e Link against Gst Data protocol libraries.
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
Link against Gst Data protocol libraries.
* gst/__init__.py:
Restore dlopenflags after importing gst.
Closes #329110
2006-01-30 12:57:02 +00:00
Thomas Vander Stichele
75e8d867cf releasing 0.10.2
Original commit message from CVS:
releasing 0.10.2
2006-01-16 20:59:29 +00:00
Thomas Vander Stichele
c4d718a991 prerelease
Original commit message from CVS:
prerelease
2006-01-14 22:59:52 +00:00
Edward Hervey
f75b8e2494 gst/gstlibs.override: GstController : don't use values that are now in non-public API.
Original commit message from CVS:
* gst/gstlibs.override:
GstController : don't use values that are now in non-public API.
2006-01-13 17:40:09 +00:00
Edward Hervey
938205e1da gst/base.defs: Revert guint8* to gchar* modifications for the adapter
Original commit message from CVS:
* gst/base.defs:
Revert guint8* to gchar* modifications for the adapter
* gst/gst.defs:
Cleanups and API additions
2006-01-09 11:42:25 +00:00
Edward Hervey
112f72dabc gst/gststructure.override: Properly check for gstvalue data types. This makes it possible to set fields with fractions.
Original commit message from CVS:
* gst/gststructure.override: (_wrap_gst_structure_set_value):
Properly check for gstvalue data types. This makes it possible to
set fields with fractions.
* testsuite/test_caps.py:
* testsuite/test_struct.py:
Test for above modifications
2006-01-08 12:26:35 +00:00
Edward Hervey
28b45522be gst/base.defs: Use gchar* instead of guint8* for GstAdapter
Original commit message from CVS:
* gst/base.defs:
Use gchar* instead of guint8* for GstAdapter
Added virtual methods definitions for base classes.
Still have to override some functions, and figure
out how to properly add reverse wrappers to the codegenerator.
2006-01-05 14:49:27 +00:00
Edward Hervey
94688fea61 First step at wrapping base elements in gst-python
Original commit message from CVS:
First step at wrapping base elements in gst-python
* configure.ac:
Commenting out weird debugging statement dating from gst-python's
and which causes problems with gstbasesrc.h anonymous union.
* gst/Makefile.am:
Added base.defs
* gst/base.defs:
New base elements definition files
* gst/gst.defs:
* gst/gst.override:
Add base elements
2006-01-01 21:18:28 +00:00
Thomas Vander Stichele
22aa40802a releasing 0.10.1
Original commit message from CVS:
releasing 0.10.1
2005-12-23 18:10:51 +00:00
Thomas Vander Stichele
915b66d2f1 install in pyexecdir as well
Original commit message from CVS:

* configure.ac:
* gst/Makefile.am:
* gst/extend/Makefile.am:
install in pyexecdir as well
2005-12-22 15:56:41 +00:00
Thomas Vander Stichele
2986e09cfe pygst.py.in: give the correct error when not finding the version
Original commit message from CVS:
* pygst.py.in: give the correct error when not finding the version
2005-12-22 11:20:44 +00:00
Edward Hervey
1170d64e5f gst/gst-types.defs: Added GstStaticCaps and GstStaticPadTemplate, using the new GType.
Original commit message from CVS:
* gst/gst-types.defs:
Added GstStaticCaps and GstStaticPadTemplate, using the new GType.
* gst/gst.defs:
Doesn't return a const anymore.
* gst/gstelementfactory.override:
Wrapped gst_element_factory_get_static_pad_templates()
2005-12-20 11:15:50 +00:00
Martin Soto
d3b9836bbd gst/gstbus.override (_wrap_gst_bus_add_watch): This function incorrectly returned self, which was causing the message...
Original commit message from CVS:
2005-12-19  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/gstbus.override (_wrap_gst_bus_add_watch): This function
incorrectly returned self, which was causing the message bus to
get prematurely destroyed by the Python interpreter. Now returns
Py_None.
2005-12-19 17:49:30 +00:00
Edward Hervey
c709d39be9 gst/gst.override: ignore gst_object_sink
Original commit message from CVS:
* gst/gst.override:
ignore gst_object_sink
2005-12-19 16:05:34 +00:00
Edward Hervey
ed0b93ff9f gst/: Properly wrap the gst_dp_* functions (cast gchar* to guint8*).
Original commit message from CVS:
* gst/gstlibs.override:
* gst/libs.defs:
Properly wrap the gst_dp_* functions (cast gchar* to guint8*).
2005-12-19 10:45:45 +00:00
Edward Hervey
99aa909d5b gst/gst.override: ignore gst_plugin_get_module, GModule aren't wrapped in pygtk anyway.
Original commit message from CVS:
* gst/gst.override:
ignore gst_plugin_get_module, GModule aren't wrapped in
pygtk anyway.
wrap gst_clock_get_calibration
* gst/gstbus.override:
Ignore the following:
gst_bus_create_watch, since GSource aren't wrapped in pygtk
gst_bus_sync_signal_handler and gst_bus_async_signal_func since
these functions are used by the default bus handler anyway.
* gst/gstevent.override:
wrapped gst_event_parse_buffer_size
* gst/libs.defs:
Replace all guint8* for gst_dp_ functions by gchar * since they
are the same, but at least get generated properly by the code
generator.
2005-12-18 18:15:57 +00:00
Edward Hervey
3ef436193d gst/gst.defs: gst_object_sink is a method of GstObject const of enums is a stupidity (_element_make_from_uri)
Original commit message from CVS:
* gst/gst.defs:
gst_object_sink is a method of GstObject
const of enums is a stupidity (_element_make_from_uri)
* gst/gst.override:
Ignore more functions that have no place in bindings or have better
python equivalents (list filtering for example)
Wrapped gst_version() and gst_type_find_factory_get_list()
* gst/gststructure.override:
More ignores
* gst/gsttaglist.override:
ignore gst_is_tag_list.
* gst/interfaces.override:
wrap gst_mixer_options_get_values()
2005-12-18 17:20:12 +00:00
Andy Wingo
1374aac3fa gst/gstpad.override (handle_event_function_exception)
Original commit message from CVS:
2005-12-16  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.override (handle_event_function_exception)
(handle_chain_function_exception): GCC told me I needed braces
here.
2005-12-16 14:47:12 +00:00
Thomas Vander Stichele
c45f28f872 Follow pygtk's lead in installing pygst.py and .pth in pyexecdir - this will do the right thing on multilib 64 bit
Original commit message from CVS:

* Makefile.am:
* configure.ac:
Follow pygtk's lead in installing pygst.py and .pth in pyexecdir -
this will do the right thing on multilib 64 bit
2005-12-14 17:18:38 +00:00
Edward Hervey
1e233d42c1 examples/gstfile.py: Moved the Discoverer class to gst.extend
Original commit message from CVS:
* examples/gstfile.py:
Moved the Discoverer class to gst.extend
Now works asynchronous... bl**dy fast :)
* gst/extend/Makefile.am:
* gst/extend/discoverer.py:
Discoverer has landed in extend and is now asynchronous.
It emits a 'discovered' signal when it has finished.
2005-12-12 15:15:28 +00:00