platform/upstream/gstreamer.git
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

18 years agogst/: Update for registry/plugin/pluginfeature API changes.
Andy Wingo [Thu, 15 Sep 2005 11:58:13 +0000 (11:58 +0000)]
gst/: Update for registry/plugin/pluginfeature API changes.

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

* gst/gst-types.defs:
* gst/gst.defs: Update for registry/plugin/pluginfeature API changes.

18 years agofix wrong decrefs
Thomas Vander Stichele [Tue, 13 Sep 2005 09:48:32 +0000 (09:48 +0000)]
fix wrong decrefs

Original commit message from CVS:
fix wrong decrefs

18 years agowhitespace cleanups
Thomas Vander Stichele [Tue, 13 Sep 2005 08:52:49 +0000 (08:52 +0000)]
whitespace cleanups

Original commit message from CVS:
whitespace cleanups

18 years agowrap state_change_async and show that it works
Thomas Vander Stichele [Mon, 12 Sep 2005 18:19:08 +0000 (18:19 +0000)]
wrap state_change_async and show that it works

Original commit message from CVS:
wrap state_change_async and show that it works

18 years agoexamples/vumeter.py: update for property name change
Thomas Vander Stichele [Mon, 12 Sep 2005 17:06:09 +0000 (17:06 +0000)]
examples/vumeter.py: update for property name change

Original commit message from CVS:
* examples/vumeter.py:
update for property name change
* gst/gst.override:
* testsuite/test_element.py:
actually log on objects, yay

18 years agotestsuite/test_element.py (ElementName.testElementStateGetName): s/NONE/VOID/.
Andy Wingo [Mon, 12 Sep 2005 16:20:24 +0000 (16:20 +0000)]
testsuite/test_element.py (ElementName.testElementStateGetName): s/NONE/VOID/.

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

* testsuite/test_element.py (ElementName.testElementStateGetName):
s/NONE/VOID/.

18 years agofix for header changes
Thomas Vander Stichele [Fri, 9 Sep 2005 16:39:59 +0000 (16:39 +0000)]
fix for header changes

Original commit message from CVS:
fix for header changes

18 years agofix other tests as well
Thomas Vander Stichele [Thu, 8 Sep 2005 15:17:13 +0000 (15:17 +0000)]
fix other tests as well

Original commit message from CVS:
fix other tests as well

18 years agowrap gst.Element.get_state, returning a tuple add tests for it
Thomas Vander Stichele [Thu, 8 Sep 2005 15:13:06 +0000 (15:13 +0000)]
wrap gst.Element.get_state, returning a tuple add tests for it

Original commit message from CVS:
wrap gst.Element.get_state, returning a tuple
add tests for it

18 years agoadd debug methods to gst.Object
Thomas Vander Stichele [Thu, 8 Sep 2005 14:08:32 +0000 (14:08 +0000)]
add debug methods to gst.Object

Original commit message from CVS:
add debug methods to gst.Object

18 years agogst/gst.defs: add gst.ghost_pad_new_notarget
Thomas Vander Stichele [Thu, 8 Sep 2005 13:34:29 +0000 (13:34 +0000)]
gst/gst.defs: add gst.ghost_pad_new_notarget

Original commit message from CVS:

* gst/gst.defs:
add gst.ghost_pad_new_notarget
* gst/gstpad.override:
change wrap_gst_pad_new a little and add logging
* testsuite/test_pad.py:
add tests for constructors of gst.Pad

18 years agoexamples/pipeline-tester: Update pipelines. The fixed-rate v4l one doesn't work here...
Andy Wingo [Mon, 5 Sep 2005 16:31:50 +0000 (16:31 +0000)]
examples/pipeline-tester: Update pipelines. The fixed-rate v4l one doesn't work here, but the rest of them do.

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

* examples/pipeline-tester: Update pipelines. The fixed-rate v4l
one doesn't work here, but the rest of them do.

18 years agoexamples/pipeline-tester: New API: STATE_SUCCESS -> STATE_CHANGE_SUCCESS
Edward Hervey [Mon, 5 Sep 2005 14:20:06 +0000 (14:20 +0000)]
examples/pipeline-tester: New API: STATE_SUCCESS -> STATE_CHANGE_SUCCESS

Original commit message from CVS:
* examples/pipeline-tester: (Window.play):
New API: STATE_SUCCESS -> STATE_CHANGE_SUCCESS

18 years agowrap gst.Plugin.get_source
Thomas Vander Stichele [Sat, 3 Sep 2005 17:06:52 +0000 (17:06 +0000)]
wrap gst.Plugin.get_source

Original commit message from CVS:
wrap gst.Plugin.get_source

18 years agodon't mangle plugin.get_version() to a tuple of int; it segfaults when the version...
Thomas Vander Stichele [Sat, 3 Sep 2005 10:01:47 +0000 (10:01 +0000)]
don't mangle plugin.get_version() to a tuple of int; it segfaults when the version contains non-ints like '-'

Original commit message from CVS:
don't mangle plugin.get_version() to a tuple of int; it segfaults
when the version contains non-ints like '-'

18 years agofix state change test
Thomas Vander Stichele [Fri, 2 Sep 2005 22:59:20 +0000 (22:59 +0000)]
fix state change test

Original commit message from CVS:
fix state change test

18 years agogst/: Update for core changes.
Andy Wingo [Fri, 2 Sep 2005 16:21:45 +0000 (16:21 +0000)]
gst/: Update for core changes.

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

* gst/gstelement.override:
* gst/gstmessage.override:
* gst/gst-types.defs (State, StateChangeReturn, StateChange):
* gst/gst.defs (change_state): Update for core changes.

18 years agoare you looking at me
Thomas Vander Stichele [Fri, 2 Sep 2005 11:18:47 +0000 (11:18 +0000)]
are you looking at me

Original commit message from CVS:
are you looking at me