platform/upstream/gstreamer.git
18 years agogst/gstobject.override: Py_VISIT() might make code cleaner... but it doesn't work...
Edward Hervey [Thu, 13 Oct 2005 10:51:19 +0000 (10:51 +0000)]
gst/gstobject.override: Py_VISIT() might make code cleaner... but it doesn't work with python < 2.4

Original commit message from CVS:
Reviewed by Edward Hervey  <edward@fluendo.com>
* gst/gstobject.override: (_wrap_gst_object_tp_traverse):
Py_VISIT() might make code cleaner... but it doesn't work with
python < 2.4
Closes bug #318692

18 years agoexamples/gstfile.py: misc fixes
Edward Hervey [Thu, 13 Oct 2005 10:41:06 +0000 (10:41 +0000)]
examples/gstfile.py: misc fixes

Original commit message from CVS:
* examples/gstfile.py:
misc fixes
* gst/Makefile.am:
* gst/pygstexception.c:
* gst/pygstexception.h:
* gst/gstelementfactory.override:
* gst/gst.override:
* gst/gstpad.override:
* gst/gstmodule.c: (init_gst):
Added exceptions system by Alessandro Decina <alessandro@nnva.org>
Closes bug #315433
* gst/gstbus.override:
* gst/gstelement.override:
Fix for _wrap_gst_element_get_state()
* gst/gstobject.override:
More debug

18 years agoautogen.sh (CONFIGURE_DEF_OPT): Check for automake 1.9 and 1.8, but not for 1.5.
Andy Wingo [Wed, 12 Oct 2005 17:20:17 +0000 (17:20 +0000)]
autogen.sh (CONFIGURE_DEF_OPT): Check for automake 1.9 and 1.8, but not for 1.5.

Original commit message from CVS:
2005-10-12  Andy Wingo  <wingo@pobox.com>

* autogen.sh (CONFIGURE_DEF_OPT): Check for automake 1.9 and 1.8,
but not for 1.5.

18 years agogst/gst-types.defs: Fix flags wrongly declared as enums.
Andy Wingo [Wed, 12 Oct 2005 16:26:25 +0000 (16:26 +0000)]
gst/gst-types.defs: Fix flags wrongly declared as enums.

Original commit message from CVS:
2005-10-12  Andy Wingo  <wingo@pobox.com>

* gst/gst-types.defs: Fix flags wrongly declared as enums.

18 years agogst/gst-extrafuncs.defs (flags, set_flag, unset_flag): Fix for core updates.
Andy Wingo [Wed, 12 Oct 2005 16:05:15 +0000 (16:05 +0000)]
gst/gst-extrafuncs.defs (flags, set_flag, unset_flag): Fix for core updates.

Original commit message from CVS:
2005-10-12  Andy Wingo  <wingo@pobox.com>

* gst/gst-extrafuncs.defs (flags, set_flag, unset_flag): Fix for
core updates.

* gst/gstmodule.c (init_gst): Give a better error message.

(also fix the changelog)

18 years agogst/gst.defs (gst_registry_scan_paths) (gst_element_abort_preroll, gst_plugin_check_file)
Andy Wingo [Wed, 12 Oct 2005 14:31:53 +0000 (14:31 +0000)]
gst/gst.defs (gst_registry_scan_paths) (gst_element_abort_preroll, gst_plugin_check_file)

Original commit message from CVS:
2005-10-12  Andy Wingo  <wingo@pobox.com>

* gst/gst.defs (gst_registry_scan_paths)
(gst_element_abort_preroll, gst_plugin_check_file)
(gst_element_finish_preroll): Removed undefined symbols.

* gst/gstelement.override (_wrap_gst_element_get_state): Fix for
GstClockTime api change.

18 years agoReordering header inclusion order to fix build on my machine.
Julien Moutte [Wed, 12 Oct 2005 11:21:53 +0000 (11:21 +0000)]
Reordering header inclusion order to fix build on my machine.

Original commit message from CVS:
2005-10-12  Julien MOUTTE  <julien@moutte.net>

* gst/gst-argtypes.c:
* gst/pygstminiobject.c:
* testsuite/testhelpermodule.c: Reordering header inclusion
order to
fix build on my machine.

18 years agoupdate for new api
Thomas Vander Stichele [Wed, 12 Oct 2005 01:53:56 +0000 (01:53 +0000)]
update for new api

Original commit message from CVS:
update for new api

18 years agogst/common.h: cleanup
Edward Hervey [Tue, 11 Oct 2005 12:42:53 +0000 (12:42 +0000)]
gst/common.h: cleanup

Original commit message from CVS:
* gst/common.h:
cleanup
* gst/gst-types.defs:
* gst/gst.defs:
Updated defs file to current gstreamer core
* gst/gst.override:
Added useless function (at least from python bindings) and little correction
on _wrap_gst_xml_get_topelements()
* gst/gstbin.override:
* gst/gstbuffer.override:
Fix memleak in gst.Buffer.set_caps()
* gst/gstevent.override:
Added wrapper for remaining gst_event_parse_*()
* gst/gstlibs.override:
Wrapped more gst.Controller methods
* gst/gstmodule.c: (init_gst):
new gst_init()
Added atexit(gst_deinit)
* gst/gstpad.override:
Fix memleak in gst.Pad.set_caps()
* gst/gstquery.override:
add gst.Query.parse_segment()
* gst/libs.defs:
Updated to current gst-libs
* gst/pygstminiobject.c: (pygstminiobject_register_wrapper),
(pygstminiobject_new), (pygstminiobject_dealloc):
Added debug
* testsuite/Makefile.am:
* testsuite/common.py:
* testsuite/gstpython.supp:
* testsuite/python.supp:
* testsuite/test_bin.py:
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_ghostpad.py:
* testsuite/test_iterator.py:
* testsuite/test_message.py:
* testsuite/test_pipeline.py:
Proper valgrind testing,
Updated tests to new API

18 years agoexamples/play.py: update to current API and state of seek example
Thomas Vander Stichele [Sun, 9 Oct 2005 17:53:58 +0000 (17:53 +0000)]
examples/play.py: update to current API and state of seek example

Original commit message from CVS:

* examples/play.py:
update to current API and state of seek example

18 years agonow we can send events to elements again
Thomas Vander Stichele [Sun, 9 Oct 2005 16:02:42 +0000 (16:02 +0000)]
now we can send events to elements again

Original commit message from CVS:
* gst/gstelement.override:
* testsuite/test_event.py:
now we can send events to elements again

18 years agogst/: fix for pending state being added to state message
Thomas Vander Stichele [Sun, 9 Oct 2005 13:55:59 +0000 (13:55 +0000)]
gst/: fix for pending state being added to state message

Original commit message from CVS:

* gst/gst.defs:
* gst/gstmessage.override:
fix for pending state being added to state message
* testsuite/test_buffer.py:
* testsuite/test_pipeline.py:
update

18 years agogst/gstelement.override (_wrap_gst_element_get_state): Drop the python lock while...
Andy Wingo [Fri, 7 Oct 2005 16:48:26 +0000 (16:48 +0000)]
gst/gstelement.override (_wrap_gst_element_get_state): Drop the python lock while in get_state.

Original commit message from CVS:
2005-10-07  Andy Wingo  <wingo@pobox.com>

* gst/gstelement.override (_wrap_gst_element_get_state): Drop the
python lock while in get_state.

* gst/__init__.py: Check the right module (i.e., the same check as
pygtk does).

18 years agogst/pygstiterator.c: Unref the return value, since the iterator refs them.
Edward Hervey [Fri, 7 Oct 2005 16:21:22 +0000 (16:21 +0000)]
gst/pygstiterator.c: Unref the return value, since the iterator refs them.

Original commit message from CVS:
* gst/pygstiterator.c:
Unref the return value, since the iterator refs them.
* testsuite/test_iterator.py:
Added more test cases, re-enabled gcverify now the bug is fixed
* gst/pygstminiobject.c: (pygstminiobject_register_wrapper),
(pygstminiobject_new), (pygstminiobject_dealloc):
Comments to better track the creation/destruction of PyGstMiniObject
Fixed naming (gst.GstMiniObject => gst.MiniObject)
* testsuite/python.supp:
Updated python specific valgrind suppressions to latest version and
added x86_64 cases
* testsuite/gstpython.supp:
Series of suppressions for errors/leaks not solvable within gst-python
* testsuite/Makefile.am:
Added gstpython.supp

18 years agogst/pygstminiobject.c: Comments to better track the creation/destruction of PyGstMini...
Edward Hervey [Fri, 7 Oct 2005 13:48:20 +0000 (13:48 +0000)]
gst/pygstminiobject.c: Comments to better track the creation/destruction of PyGstMiniObject

Original commit message from CVS:
* gst/pygstminiobject.c: (pygstminiobject_register_wrapper),
(pygstminiobject_new), (pygstminiobject_dealloc):
Comments to better track the creation/destruction of PyGstMiniObject
Fixed naming (gst.GstMiniObject => gst.MiniObject)
* testsuite/python.supp:
Updated python specific valgrind suppressions to latest version and
added x86_64 cases
* testsuite/gstpython.supp:
Series of suppressions for errors/leaks not solvable within gst-python
* testsuite/Makefile.am:
Added gstpython.supp

18 years agostart a message test
Thomas Vander Stichele [Fri, 7 Oct 2005 07:48:09 +0000 (07:48 +0000)]
start a message test

Original commit message from CVS:
start a message test

18 years agoadd valgrind checking to the testsuite
Thomas Vander Stichele [Fri, 7 Oct 2005 07:19:17 +0000 (07:19 +0000)]
add valgrind checking to the testsuite

Original commit message from CVS:

* configure.ac:
* testsuite/Makefile.am:
* testsuite/python.supp:
add valgrind checking to the testsuite

18 years agogst/: Even more bored tonight: Implement next/resync/push.
Johan Dahlin [Fri, 7 Oct 2005 01:52:28 +0000 (01:52 +0000)]
gst/: Even more bored tonight: Implement next/resync/push.

Original commit message from CVS:
* gst/common.h:
* gst/gstmodule.c: (init_gst):
* gst/pygstiterator.c: (pygst_iterator_iter_next),
(pygst_iterator_next), (pygst_iterator_push),
(pygst_iterator_resync):
Even more bored tonight: Implement next/resync/push.
Register type so we can call methods and so.

18 years agoAdd GstIterator wrapping and tests.
Johan Dahlin [Fri, 7 Oct 2005 01:21:57 +0000 (01:21 +0000)]
Add GstIterator wrapping and tests.

Original commit message from CVS:
* codegen/argtypes.py:
* gst/Makefile.am:
* gst/common.h:
* gst/gst.defs:
* gst/gstbin.override:
* gst/gstelement.override:
* gst/pygstiterator.c: (pygst_iterator_dealloc),
(pygst_iterator_iter_next), (pygst_iterator_new):
* testsuite/test_iterator.py:
Add GstIterator wrapping and tests.

18 years agofix up some weird stuff that crept in and also some things pointed out by edward
Christian Schaller [Thu, 6 Oct 2005 17:27:06 +0000 (17:27 +0000)]
fix up some weird stuff that crept in and also some things pointed out by edward

Original commit message from CVS:
fix up some weird stuff that crept in and also some things pointed out by edward

18 years agofix requires
Christian Schaller [Thu, 6 Oct 2005 17:10:42 +0000 (17:10 +0000)]
fix requires

Original commit message from CVS:
fix requires

18 years agoupdate spec I know
Christian Schaller [Thu, 6 Oct 2005 17:06:21 +0000 (17:06 +0000)]
update spec I know

Original commit message from CVS:
update spec I know

18 years agomemleak fixes. Thanks valgrind :)
Edward Hervey [Thu, 6 Oct 2005 16:58:38 +0000 (16:58 +0000)]
memleak fixes. Thanks valgrind :)

Original commit message from CVS:
* gst/gstpad.override:
* gst/gststructure.override:
* testsuite/testhelpermodule.c: (_wrap_emit_event):
memleak fixes. Thanks valgrind :)

18 years agogst-python.spec.in: Wow, that file hasn't been updated in a long long time.
Edward Hervey [Thu, 6 Oct 2005 15:25:29 +0000 (15:25 +0000)]
gst-python.spec.in: Wow, that file hasn't been updated in a long long time.

Original commit message from CVS:
* gst-python.spec.in:
Wow, that file hasn't been updated in a long long time.
* gst/gstcaps.override: (_wrap_gst_caps_new_empty):
new caps should be freed on dealloc...

18 years agogst-python.spec.in: Update dependency for pygtk>= 2.6.3 here too
Edward Hervey [Thu, 6 Oct 2005 15:09:42 +0000 (15:09 +0000)]
gst-python.spec.in: Update dependency for pygtk>= 2.6.3 here too

Original commit message from CVS:
* gst-python.spec.in: (BuildRequires), (Requires):
Update dependency for pygtk>= 2.6.3 here too
* gst/gstcaps.override: (_wrap_gst_caps_new_empty):
new caps should be freed on dealloc...

18 years agogst/gstcaps.override: new caps should be freed on dealloc...
Edward Hervey [Thu, 6 Oct 2005 15:03:40 +0000 (15:03 +0000)]
gst/gstcaps.override: new caps should be freed on dealloc...

Original commit message from CVS:
* gst/gstcaps.override: (_wrap_gst_caps_new_empty):
new caps should be freed on dealloc...

18 years agogst/gstcaps.override: some more debugging
Thomas Vander Stichele [Thu, 6 Oct 2005 14:43:15 +0000 (14:43 +0000)]
gst/gstcaps.override: some more debugging

Original commit message from CVS:

* gst/gstcaps.override:
some more debugging
* gst/gstevent.override:
represent using the string for the type

18 years agogst/gstbuffer.override: Proper wrapping of the GstBuffer.caps attribute
Edward Hervey [Thu, 6 Oct 2005 13:51:31 +0000 (13:51 +0000)]
gst/gstbuffer.override: Proper wrapping of the GstBuffer.caps attribute

Original commit message from CVS:
* gst/gstbuffer.override: (_wrap_gst_buffer__get_caps):
Proper wrapping of the GstBuffer.caps attribute
* gst/gstmodule.c: (init_gst):
* gst/pygstminiobject.c: (pygstminiobject_register_class):
gst-debug initialisation should happen before anything else if we
want the debugging functions to work.

18 years agoconfigure.ac: need at least 2.6.3, because that contains the code that converts signa...
Thomas Vander Stichele [Thu, 6 Oct 2005 10:54:14 +0000 (10:54 +0000)]
configure.ac: need at least 2.6.3, because that contains the code that converts signal closure arguments to the corre...

Original commit message from CVS:

* configure.ac:
need at least 2.6.3, because that contains the code that
converts signal closure arguments to the correct Gst
types
* gst/gstpad.override:
log name of probe handlers we call
* testsuite/test_pad.py:
fix up tests; use TestCase base class methods

18 years agogst/pygstminiobject.c: Dooh, PyGstMiniObject doesn't need cyclic garbage collection !
Edward Hervey [Thu, 6 Oct 2005 10:51:55 +0000 (10:51 +0000)]
gst/pygstminiobject.c: Dooh, PyGstMiniObject doesn't need cyclic garbage collection !

Original commit message from CVS:
* gst/pygstminiobject.c:
Dooh, PyGstMiniObject doesn't need cyclic garbage collection !
Bye, bye Python refcounting (and refcounting bugs).

18 years agosnakes are green
Thomas Vander Stichele [Thu, 6 Oct 2005 09:49:58 +0000 (09:49 +0000)]
snakes are green

Original commit message from CVS:
snakes are green

18 years agoall you racist colour haters should go work on another project
Thomas Vander Stichele [Thu, 6 Oct 2005 09:19:49 +0000 (09:19 +0000)]
all you racist colour haters should go work on another project

Original commit message from CVS:
all you racist colour haters should go work on another project

18 years agobut use python: category for debugging from python code
Thomas Vander Stichele [Thu, 6 Oct 2005 09:10:14 +0000 (09:10 +0000)]
but use python: category for debugging from python code

Original commit message from CVS:
but use python: category for debugging from python code

18 years agouse correct category
Thomas Vander Stichele [Thu, 6 Oct 2005 09:05:15 +0000 (09:05 +0000)]
use correct category

Original commit message from CVS:
use correct category

18 years agotestsuite/test_ghostpad.py: add handoff to count received buffers
Thomas Vander Stichele [Thu, 6 Oct 2005 07:17:16 +0000 (07:17 +0000)]
testsuite/test_ghostpad.py: add handoff to count received buffers

Original commit message from CVS:
2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>

* testsuite/test_ghostpad.py:
add handoff to count received buffers

18 years agoreproduce how did we get here problem with a minimal test case
Thomas Vander Stichele [Thu, 6 Oct 2005 06:39:32 +0000 (06:39 +0000)]
reproduce how did we get here problem with a minimal test case

Original commit message from CVS:
reproduce how did we get here problem with a minimal test case

18 years agogst/gst.override: accurate line numbers for logging
Thomas Vander Stichele [Wed, 5 Oct 2005 22:33:50 +0000 (22:33 +0000)]
gst/gst.override: accurate line numbers for logging

Original commit message from CVS:

* gst/gst.override:
accurate line numbers for logging
* testsuite/common.py:
log when TestCase.setUp() and .tearDown() get called
* testsuite/test_ghostpad.py:
rework

18 years agotestsuite/: add new testsuite for ghost pad behaviour
Thomas Vander Stichele [Wed, 5 Oct 2005 21:51:36 +0000 (21:51 +0000)]
testsuite/: add new testsuite for ghost pad behaviour

Original commit message from CVS:

* testsuite/Makefile.am:
* testsuite/test_ghostpad.py:
add new testsuite for ghost pad behaviour

18 years agogst/gst.defs: gst.Bin constructor can take no arguments
Thomas Vander Stichele [Wed, 5 Oct 2005 21:50:43 +0000 (21:50 +0000)]
gst/gst.defs: gst.Bin constructor can take no arguments

Original commit message from CVS:

* gst/gst.defs:
gst.Bin constructor can take no arguments
* testsuite/test_bin.py:
add constructor tests
* testsuite/test_element.py:
add same link test with no pads

18 years agoadd gst.Caps.__refcount__
Thomas Vander Stichele [Wed, 5 Oct 2005 17:18:32 +0000 (17:18 +0000)]
add gst.Caps.__refcount__

Original commit message from CVS:

* gst/gst-types.defs:
* gst/gstcaps.override:
* testsuite/test_caps.py:
add gst.Caps.__refcount__

18 years agotestsuite/test_pad.py: add a test that shows we can link a pad in a buffer probe...
Thomas Vander Stichele [Wed, 5 Oct 2005 16:22:26 +0000 (16:22 +0000)]
testsuite/test_pad.py: add a test that shows we can link a pad in a buffer probe callback.  yay !

Original commit message from CVS:
* testsuite/test_pad.py:
add a test that shows we can link a pad in a buffer probe
callback.  yay !

18 years agogst/gstobject.override: don't try and unref objects that are already finalizing
Thomas Vander Stichele [Wed, 5 Oct 2005 16:19:13 +0000 (16:19 +0000)]
gst/gstobject.override: don't try and unref objects that are already finalizing

Original commit message from CVS:

* gst/gstobject.override:
don't try and unref objects that are already finalizing
* gst/gstpad.override:
fix up the set_chainfunc method
* testsuite/common.py:
* testsuite/test_pad.py:
add linked/unlinked tests with no/true/false bufferprobes

18 years agocodegen/argtypes.py: act on the mini object properly, not on the py object
Thomas Vander Stichele [Wed, 5 Oct 2005 14:51:43 +0000 (14:51 +0000)]
codegen/argtypes.py: act on the mini object properly, not on the py object

Original commit message from CVS:

* codegen/argtypes.py:
act on the mini object properly, not on the py object

18 years agogst/gstbuffer.override: a buffer is not a boxed
Thomas Vander Stichele [Wed, 5 Oct 2005 14:26:24 +0000 (14:26 +0000)]
gst/gstbuffer.override: a buffer is not a boxed

Original commit message from CVS:

* gst/gstbuffer.override:
a buffer is not a boxed
* gst/gstobject.override:
use Py_VISIT for cleaner and more pythonic code
do not visit GstObjects that still have a parent

18 years agoallow calling runtests on one test only
Thomas Vander Stichele [Wed, 5 Oct 2005 14:22:56 +0000 (14:22 +0000)]
allow calling runtests on one test only

Original commit message from CVS:
allow calling runtests on one test only

18 years agoAdded 'keeprefcount' argument for function/method parameters in order to cope with...
Edward Hervey [Wed, 5 Oct 2005 13:48:21 +0000 (13:48 +0000)]
Added 'keeprefcount' argument for function/method parameters in order to cope with functions/methods that decrement t...

Original commit message from CVS:
* codegen/argtypes.py:
* codegen/codegen.py:
* codegen/definitions.py:
* gst/arg-types.py:
Added 'keeprefcount' argument for function/method parameters in order to
cope with functions/methods that decrement the refcount of the given
parameter
* gst/gst.defs:
Added 'keeprefcount' for buffer argument of gst_pad_push() wrapper.

18 years agomake sure we use the debug category
Thomas Vander Stichele [Wed, 5 Oct 2005 10:29:32 +0000 (10:29 +0000)]
make sure we use the debug category

Original commit message from CVS:
make sure we use the debug category

18 years agosome more traversal logging
Thomas Vander Stichele [Wed, 5 Oct 2005 10:29:00 +0000 (10:29 +0000)]
some more traversal logging

Original commit message from CVS:
some more traversal logging

18 years agoremove print
Thomas Vander Stichele [Wed, 5 Oct 2005 09:35:50 +0000 (09:35 +0000)]
remove print

Original commit message from CVS:
remove print

18 years agogst/__init__.py: only pygtk.require if pygtk wasn't imported yet
Thomas Vander Stichele [Wed, 5 Oct 2005 09:02:19 +0000 (09:02 +0000)]
gst/__init__.py: only pygtk.require if pygtk wasn't imported yet

Original commit message from CVS:

* gst/__init__.py:
only pygtk.require if pygtk wasn't imported yet

18 years agogst/__init__.py: don't import gobject revert ltihooks change from Johan - if it throw...
Thomas Vander Stichele [Wed, 5 Oct 2005 08:58:00 +0000 (08:58 +0000)]
gst/__init__.py: don't import gobject revert ltihooks change from Johan - if it throws an exception there is a bug an...

Original commit message from CVS:
* gst/__init__.py:
don't import gobject
revert ltihooks change from Johan - if it throws an exception
there is a bug and I want to fix it

18 years agomove over some of the extend stuff that I want to use right now
Thomas Vander Stichele [Tue, 4 Oct 2005 14:59:07 +0000 (14:59 +0000)]
move over some of the extend stuff that I want to use right now

Original commit message from CVS:

* configure.ac:
* gst/Makefile.am:
* gst/extend/Makefile.am:
* gst/extend/__init__.py:
* gst/extend/pygobject.py:
* gst/extend/utils.py:
move over some of the extend stuff that I want to use right now

18 years agocodegen/codegen.py: Added pyg_[begin|end]_allow_threads before and after call of...
Edward Hervey [Tue, 4 Oct 2005 14:31:47 +0000 (14:31 +0000)]
codegen/codegen.py: Added pyg_[begin|end]_allow_threads before and after call of C methods in python methods wrappers.

Original commit message from CVS:
* codegen/codegen.py:
Added pyg_[begin|end]_allow_threads before and after call of C methods
in python methods wrappers.
This should get rid of more threading issues...
Should we also do that for function calls ?

18 years agoadd Makefile.am
Thomas Vander Stichele [Tue, 4 Oct 2005 08:18:27 +0000 (08:18 +0000)]
add Makefile.am

Original commit message from CVS:
add Makefile.am

18 years agofix version numbers
Thomas Vander Stichele [Tue, 4 Oct 2005 08:17:25 +0000 (08:17 +0000)]
fix version numbers

Original commit message from CVS:
fix version numbers

18 years agoback to head
Thomas Vander Stichele [Mon, 3 Oct 2005 18:01:50 +0000 (18:01 +0000)]
back to head

Original commit message from CVS:
back to head

18 years agorelease time
Thomas Vander Stichele [Mon, 3 Oct 2005 17:52:07 +0000 (17:52 +0000)]
release time

Original commit message from CVS:
release time

18 years agogst/gst.defs: Remove gst_element_*_preroll functions, they are not present in gstream...
Johan Dahlin [Sun, 2 Oct 2005 16:24:44 +0000 (16:24 +0000)]
gst/gst.defs: Remove gst_element_*_preroll functions, they are not present in gstreamer any longer.

Original commit message from CVS:
* gst/gst.defs: Remove gst_element_*_preroll functions, they are
not present in gstreamer any longer.

18 years agogst/gstpad.override: Removed overriding of gst_caps_get_negotiated_caps, the codegene...
Edward Hervey [Fri, 30 Sep 2005 15:53:07 +0000 (15:53 +0000)]
gst/gstpad.override: Removed overriding of gst_caps_get_negotiated_caps, the codegenerator handles it much better (hi...

Original commit message from CVS:
* gst/gstpad.override:
Removed overriding of gst_caps_get_negotiated_caps, the codegenerator
handles it much better (hint:don't copy)

18 years agogst/: deprecate add_many/remove_many, fold into add/remove
Thomas Vander Stichele [Fri, 30 Sep 2005 15:23:15 +0000 (15:23 +0000)]
gst/: deprecate add_many/remove_many, fold into add/remove

Original commit message from CVS:

* gst/gst.defs:
* gst/gst.override:
* gst/gstbin.override:
deprecate add_many/remove_many, fold into add/remove
* gst/gstmodule.c: (init_gst):
add AddError and RemoveError
* testsuite/Makefile.am:
remove fatal warnings, until we can wrap log handlers
and catch our expected add/remove errors
* testsuite/test_bin.py:
add tests for new add/remove semantics
* testsuite/test_pad.py:
* testsuite/test_pipeline.py:
fix up

18 years agoanother fix for going to NULL before disposing
Thomas Vander Stichele [Fri, 30 Sep 2005 08:26:04 +0000 (08:26 +0000)]
another fix for going to NULL before disposing

Original commit message from CVS:
another fix for going to NULL before disposing

18 years agodisable the gc verification for the bus test; _async thread is causing a ref
Thomas Vander Stichele [Fri, 30 Sep 2005 08:23:13 +0000 (08:23 +0000)]
disable the gc verification for the bus test; _async thread is causing a ref

Original commit message from CVS:
disable the gc verification for the bus test; _async thread is causing a ref

18 years agogst/gstelement.override (_wrap_gst_element_get_state): return an enum instead of...
Johan Dahlin [Fri, 30 Sep 2005 00:56:17 +0000 (00:56 +0000)]
gst/gstelement.override (_wrap_gst_element_get_state): return an enum instead of an int.

Original commit message from CVS:
* gst/gstelement.override (_wrap_gst_element_get_state): return an
enum instead of an int.

18 years agoexamples/: Updates for bus API.
Andy Wingo [Thu, 29 Sep 2005 16:38:06 +0000 (16:38 +0000)]
examples/: Updates for bus API.

Original commit message from CVS:
2005-09-29  Andy Wingo  <wingo@pobox.com>

* examples/pipeline-tester (Window.play):
* examples/vumeter.py (Window.run): Updates for bus API.

18 years agogst/gst.defs: Definitions update
Edward Hervey [Thu, 29 Sep 2005 16:16:28 +0000 (16:16 +0000)]
gst/gst.defs: Definitions update

Original commit message from CVS:
* gst/gst.defs:
Definitions update

18 years agogst/: Proper wrapping of GstController
Edward Hervey [Thu, 29 Sep 2005 15:42:31 +0000 (15:42 +0000)]
gst/: Proper wrapping of GstController

Original commit message from CVS:
* gst/gst.override:
* gst/gstlibs.override:
Proper wrapping of GstController
* examples/Makefile.am:
* examples/audio-controller.py:
Example to show how to use gst.Controller

18 years agoexamples/gstfile.py: Update gstfile example so that... it works :)
Edward Hervey [Thu, 29 Sep 2005 14:06:26 +0000 (14:06 +0000)]
examples/gstfile.py: Update gstfile example so that... it works :)

Original commit message from CVS:
* examples/gstfile.py:
Update gstfile example so that... it works :)

18 years agoUpdated definitions, wrapper and testsuite for changes in GstBus API
Edward Hervey [Thu, 29 Sep 2005 13:56:03 +0000 (13:56 +0000)]
Updated definitions, wrapper and testsuite for changes in GstBus API

Original commit message from CVS:
* gst/gst.defs:
* gst/gstbus.override:
* testsuite/test_bus.py:
* testsuite/test_pipeline.py:
Updated definitions, wrapper and testsuite for changes in GstBus API

18 years agogst/gst.defs: Updated definitions
Edward Hervey [Thu, 29 Sep 2005 09:58:25 +0000 (09:58 +0000)]
gst/gst.defs: Updated definitions

Original commit message from CVS:
* gst/gst.defs:
Updated definitions
* gst/gst.override:
ignoring _init, gst_param_spec* and gst_iterator_new_list functions
* gst/gststructure.override:
ignore gst_structure_get_enum
* testsuite/test_struct.py:
Updated test for boolean

18 years agoDisable for the sake of buildbot and passing tests
Johan Dahlin [Thu, 29 Sep 2005 03:38:10 +0000 (03:38 +0000)]
Disable for the sake of buildbot and passing tests

Original commit message from CVS:
Disable for the sake of buildbot and passing tests

18 years agogst/gstelement.override (_wrap_gst_element_get_state): Set the timeout to 0 as default
Johan Dahlin [Thu, 29 Sep 2005 02:38:07 +0000 (02:38 +0000)]
gst/gstelement.override (_wrap_gst_element_get_state): Set the timeout to 0 as default

Original commit message from CVS:
* gst/gstelement.override (_wrap_gst_element_get_state): Set the
timeout to 0 as default

18 years agoCheck if ltihooks is present before trying to delete it
Johan Dahlin [Thu, 29 Sep 2005 01:16:21 +0000 (01:16 +0000)]
Check if ltihooks is present before trying to delete it

Original commit message from CVS:
Check if ltihooks is present before trying to delete it

18 years agogst/: Updated definitions
Edward Hervey [Wed, 28 Sep 2005 17:08:11 +0000 (17:08 +0000)]
gst/: Updated definitions

Original commit message from CVS:
* gst/gst.defs:
* gst/libs.defs:
Updated definitions
* gst/gst.override:
* gst/gststructure.override:
Added functions not to be used from python, or that have better
existing equivalents, to the ignore list.

18 years agotestsuite/common.py: provide a default setUp/tearDown
Thomas Vander Stichele [Wed, 28 Sep 2005 15:48:10 +0000 (15:48 +0000)]
testsuite/common.py: provide a default setUp/tearDown

Original commit message from CVS:

* testsuite/common.py:
provide a default setUp/tearDown
* testsuite/test_bin.py:
* testsuite/test_bus.py:
* testsuite/test_element.py:
* testsuite/test_pipeline.py:
adding/updating tests and gc tracking

18 years agogst/: Remove dead code
Edward Hervey [Wed, 28 Sep 2005 15:19:44 +0000 (15:19 +0000)]
gst/: Remove dead code

Original commit message from CVS:
* gst/gst.override:
* gst/gstbin.override:
* gst/gstbuffer.override:
* gst/gstevent.override:
Remove dead code
* gst/gstelement.override:
Remove dead code and re-enable link with filtering and _send_event()

18 years agogst/: Let's split up gst.override,
Edward Hervey [Wed, 28 Sep 2005 14:34:52 +0000 (14:34 +0000)]
gst/: Let's split up gst.override,

Original commit message from CVS:
* gst/Makefile.am:
* gst/gst.override:
* gst/gsttaglist.override:
* gst/gstobject.override:
Let's split up gst.override,
Added gsttaglist.override and gstobject.override
* gst/arg-types.py:
* gst/gst-argtypes.c:
Cleanup, removed deprecated GstData related functions
* gst/gst-extrafuncs.defs:
* gst/gst.defs:
Moved debug functions to gst-extrafuncs.defs

18 years agogst/gst.defs: parse_launch also owns the return ref
Thomas Vander Stichele [Wed, 28 Sep 2005 14:20:03 +0000 (14:20 +0000)]
gst/gst.defs: parse_launch also owns the return ref

Original commit message from CVS:

* gst/gst.defs:
parse_launch also owns the return ref
* gst/gstbin.override:
fix a leak in get_by_name()
* testsuite/common.py:
loop when garbage collecting; necessary when deleting, say,
a pipeline, that contains elements, to ensure the elements
also get collected
* testsuite/test_element.py:
* testsuite/test_pipeline.py:
test for garbage collection

18 years agotestsuite/common.py: add a common.TestCase class that has methods to track and verify...
Thomas Vander Stichele [Wed, 28 Sep 2005 13:29:52 +0000 (13:29 +0000)]
testsuite/common.py: add a common.TestCase class that has methods to track and verify garbage collection of GstObject

Original commit message from CVS:

* testsuite/common.py:
add a common.TestCase class that has methods to track and verify
garbage collection of GstObject
* testsuite/test_pad.py:
use it

18 years agogst/: add/move some code to handle wrapping/refcounting of possible
Thomas Vander Stichele [Wed, 28 Sep 2005 12:17:29 +0000 (12:17 +0000)]
gst/: add/move some code to handle wrapping/refcounting of possible

Original commit message from CVS:
* gst/Makefile.am:
* gst/common.h:
* gst/pygstobject.c: (pygstobject_sink), (pygstobject_new),
(pygst_object_unref):
* gst/pygstobject.h:
* gst/gstmodule.c: (init_gst):
add/move some code to handle wrapping/refcounting of possible
GstObject
* codegen/argtypes.py:
* gst/gstbin.override:
* gst/gstbus.override:
* gst/gstelement.override:
* gst/gstpad.override:
* gst/interfaces.override:
use this reffing code
* gst/gst-types.defs:
* gst/gst.override:
add a __gstrefcount__ field to GstObject types
add tp_traverse, tp_dealloc and tp_clear, so we handle refcounting
properly related to garbage collection
* testsuite/test_element.py:
* testsuite/test_pad.py:
add more tests, add some refcount checks

18 years agocodegen/argtypes.py: Proper handling of 'caller-owns-return' for miniobjects
Edward Hervey [Wed, 28 Sep 2005 10:58:50 +0000 (10:58 +0000)]
codegen/argtypes.py: Proper handling of 'caller-owns-return' for miniobjects

Original commit message from CVS:
* codegen/argtypes.py:
Proper handling of 'caller-owns-return' for miniobjects
* gst/gst-types.defs:
Updating parenting of classes,
added/removed/updated flags&enums
* gst/gst.defs:
Updated to current core cvs,
Added 'caller-owns-return' properties for functions/methods that require
it
* gst/gst.override:
Don't make *_[un]ref() accessible
* gst/gstbuffer.override:
* gst/gstevent.override:
* gst/gstmessage.override:
* gst/gstquery.override:
Removed hack-ish wrappers since codegenerator handles
'caller-owns-return' methods/functions
* gst/gstmodule.c: (sink_gstobject), (init_gst):
Re-enabled sink function
* gst/libs.defs:
Updated to current core cvs
Removed Adapter
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
removed _new_noref() hack

18 years agogst/gstpad.override: don't leak the parent when repr'ing pads
Thomas Vander Stichele [Wed, 28 Sep 2005 09:52:37 +0000 (09:52 +0000)]
gst/gstpad.override: don't leak the parent when repr'ing pads

Original commit message from CVS:

* gst/gstpad.override:
don't leak the parent when repr'ing pads

18 years agodebugging and error improvement
Thomas Vander Stichele [Wed, 28 Sep 2005 08:41:30 +0000 (08:41 +0000)]
debugging and error improvement

Original commit message from CVS:
debugging and error improvement

18 years agogst/__init__.py: require pygtk 2.0 when importing gst it only works with 2.0, and...
Thomas Vander Stichele [Wed, 28 Sep 2005 07:40:15 +0000 (07:40 +0000)]
gst/__init__.py: require pygtk 2.0 when importing gst it only works with 2.0, and it sets up the path correctly when ...

Original commit message from CVS:

* gst/__init__.py:
require pygtk 2.0 when importing gst
it only works with 2.0, and it sets up the path correctly
when running against a pygtk compiled into a different prefix

18 years agodon't override project policy
Thomas Vander Stichele [Tue, 27 Sep 2005 18:40:16 +0000 (18:40 +0000)]
don't override project policy

Original commit message from CVS:
don't override project policy

18 years agoupdate for API changes
Thomas Vander Stichele [Mon, 26 Sep 2005 16:53:04 +0000 (16:53 +0000)]
update for API changes

Original commit message from CVS:
update for API changes

18 years agotweak
Thomas Vander Stichele [Sat, 24 Sep 2005 12:21:04 +0000 (12:21 +0000)]
tweak

Original commit message from CVS:
tweak

18 years agofurther cleanup, get the tick marks pixel perfect
Thomas Vander Stichele [Sat, 24 Sep 2005 12:17:59 +0000 (12:17 +0000)]
further cleanup, get the tick marks pixel perfect

Original commit message from CVS:
further cleanup, get the tick marks pixel perfect

18 years agoexamples/fvumeter.py: condense code by using table and loop
Thomas Vander Stichele [Fri, 23 Sep 2005 21:10:36 +0000 (21:10 +0000)]
examples/fvumeter.py: condense code by using table and loop

Original commit message from CVS:
2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>

* examples/fvumeter.py:
condense code by using table and loop
* examples/vumeter.py:
fix up example for new API for both bus and level element

18 years agogst/gst.*: add another registry method
Thomas Vander Stichele [Fri, 23 Sep 2005 15:37:40 +0000 (15:37 +0000)]
gst/gst.*: add another registry method

Original commit message from CVS:

* gst/gst.defs:
* gst/gst.override:
add another registry method
* testsuite/Makefile.am:
add check-verbose
* testsuite/runtests.py:
check for VERBOSE env var
* testsuite/test_pad.py:
refactor a test and add one more for probes

18 years agogst/gstbuffer.override: Revert Buffer.caps change, since wingo fixed it upstream
Jan Schmidt [Thu, 22 Sep 2005 10:13:57 +0000 (10:13 +0000)]
gst/gstbuffer.override: Revert Buffer.caps change, since wingo fixed it upstream

Original commit message from CVS:
* gst/gstbuffer.override:
Revert Buffer.caps change, since wingo fixed it upstream

18 years agogst/gstbuffer.override: Increment the refcount when fetching GST_BUFFER_CAPS.
Jan Schmidt [Thu, 22 Sep 2005 04:16:26 +0000 (04:16 +0000)]
gst/gstbuffer.override: Increment the refcount when fetching GST_BUFFER_CAPS.

Original commit message from CVS:
* gst/gstbuffer.override:
Increment the refcount when fetching GST_BUFFER_CAPS.
Python gurus, please fix if there's a better way this should be done.

18 years agotestsuite/test_pad.py (PadProbeTest.testRemovingProbe): Add probe removal test. Passe...
Andy Wingo [Wed, 21 Sep 2005 13:45:58 +0000 (13:45 +0000)]
testsuite/test_pad.py (PadProbeTest.testRemovingProbe): Add probe removal test. Passes, but some other test sporadica...

Original commit message from CVS:
2005-09-21  Andy Wingo  <wingo@pobox.com>

* testsuite/test_pad.py (PadProbeTest.testRemovingProbe): Add
probe removal test. Passes, but some other test sporadically fails
-- will check that later.

18 years agogst/gst.defs: Update for probe removal api gst/gstpad.override (_wrap_gst_pad_remove_...
Andy Wingo [Wed, 21 Sep 2005 13:36:45 +0000 (13:36 +0000)]
gst/gst.defs: Update for probe removal api gst/gstpad.override (_wrap_gst_pad_remove_data_probe) (_wrap_gst_pad_remov...

Original commit message from CVS:
2005-09-21  Andy Wingo  <wingo@pobox.com>

* gst/gst.defs: Update for probe removal api

* gst/gstpad.override (_wrap_gst_pad_remove_data_probe)
(_wrap_gst_pad_remove_event_probe)
(_wrap_gst_pad_remove_buffer_probe): Removed, upstream does the
right thing now.
(_wrap_gst_pad_add_data_probe, _wrap_gst_pad_add_event_probe)
(_wrap_gst_pad_add_buffer_probe): Indent.

18 years agoadd a .keys() method to gst.Structure, plus test
Thomas Vander Stichele [Tue, 20 Sep 2005 14:50:54 +0000 (14:50 +0000)]
add a .keys() method to gst.Structure, plus test

Original commit message from CVS:
* gst/gst.defs:
* gst/gststructure.override:
* testsuite/test_struct.py:
add a .keys() method to gst.Structure, plus test

18 years agofix up for new bus API
Thomas Vander Stichele [Mon, 19 Sep 2005 15:44:54 +0000 (15:44 +0000)]
fix up for new bus API

Original commit message from CVS:
fix up for new bus API

18 years agoadd empty check-valgrind target
Thomas Vander Stichele [Sun, 18 Sep 2005 13:24:17 +0000 (13:24 +0000)]
add empty check-valgrind target

Original commit message from CVS:
add empty check-valgrind target

18 years agoupdate for new plugin API
Thomas Vander Stichele [Sun, 18 Sep 2005 11:54:34 +0000 (11:54 +0000)]
update for new plugin API

Original commit message from CVS:
update for new plugin API

18 years agocommit intermediate wrapper updates
Thomas Vander Stichele [Sun, 18 Sep 2005 11:06:42 +0000 (11:06 +0000)]
commit intermediate wrapper updates

Original commit message from CVS:
commit intermediate wrapper updates

18 years agogst/gst.defs (registry_get_default): Renamed from gst_registry_get_default.
Andy Wingo [Fri, 16 Sep 2005 12:33:07 +0000 (12:33 +0000)]
gst/gst.defs (registry_get_default): Renamed from gst_registry_get_default.

Original commit message from CVS:
2005-09-16  Andy Wingo  <wingo@pobox.com>

* gst/gst.defs (registry_get_default): Renamed from
gst_registry_get_default.

18 years agoremove function
Thomas Vander Stichele [Fri, 16 Sep 2005 11:25:45 +0000 (11:25 +0000)]
remove function

Original commit message from CVS:
remove function