platform/upstream/gstreamer.git
18 years agogst/gstpad.override: Use proper GValue <-> MiniObject conversion function
Edward Hervey [Fri, 4 Nov 2005 13:14:59 +0000 (13:14 +0000)]
gst/gstpad.override: Use proper GValue <-> MiniObject conversion function

Original commit message from CVS:
* gst/gstpad.override:
Use proper GValue <-> MiniObject conversion function
* examples/Makefile.am:
* examples/sinkelement.py:
New example showing how to create a sink element in python.

18 years agoexamples/play.py: Fixed the play example to work with 0.9.4 API
Edward Hervey [Fri, 4 Nov 2005 10:14:22 +0000 (10:14 +0000)]
examples/play.py: Fixed the play example to work with 0.9.4 API

Original commit message from CVS:
* examples/play.py:
Fixed the play example to work with 0.9.4 API

18 years agoplug leak
Johan Dahlin [Wed, 2 Nov 2005 13:54:21 +0000 (13:54 +0000)]
plug leak

Original commit message from CVS:
plug leak

18 years agogst/gstelement.override: added wrapper for gst_element_query_duration()
Edward Hervey [Tue, 1 Nov 2005 18:19:08 +0000 (18:19 +0000)]
gst/gstelement.override: added wrapper for gst_element_query_duration()

Original commit message from CVS:
* gst/gstelement.override:
added wrapper for gst_element_query_duration()
* gst/gstpad.override:
added wrapper for gst_pad_query_duration()
Also converted some functions using fixed size PyList to use
PyList_SetItem instead of PyList_Append
Closes bug #320357

18 years agogst/gst-types.defs: Updated modification from API
Edward Hervey [Tue, 1 Nov 2005 15:36:23 +0000 (15:36 +0000)]
gst/gst-types.defs: Updated modification from API

Original commit message from CVS:
* gst/gst-types.defs:
Updated modification from API
* gst/gstquery.override:
Added gst_query_parse_duration override
* examples/gstfile.py:
Now use duration query
Cleanups

18 years agoreindent the gst way
Thomas Vander Stichele [Thu, 27 Oct 2005 15:54:32 +0000 (15:54 +0000)]
reindent the gst way

Original commit message from CVS:
reindent the gst way

18 years agogst/gst.defs: Added 'caller-owns-return' to all gst_[message|event|query]_new_*(...
Edward Hervey [Thu, 27 Oct 2005 14:46:59 +0000 (14:46 +0000)]
gst/gst.defs: Added 'caller-owns-return' to all gst_[message|event|query]_new_*() wrappers

Original commit message from CVS:
* gst/gst.defs:
Added 'caller-owns-return' to all gst_[message|event|query]_new_*()
wrappers

18 years agoadd gst.QueryError and use it
Thomas Vander Stichele [Thu, 27 Oct 2005 09:51:18 +0000 (09:51 +0000)]
add gst.QueryError and use it

Original commit message from CVS:

* gst/gstelement.override:
* gst/pygstexception.c:
* gst/pygstexception.h:
* testsuite/test_element.py:
add gst.QueryError and use it
* testsuite/test_pad.py:
add some tests that show comparison between two different
Python objects wrapping the same MiniObject

18 years agogst/: remove the hash table for miniobjects - since we can't get notified when they...
Thomas Vander Stichele [Thu, 27 Oct 2005 08:51:20 +0000 (08:51 +0000)]
gst/: remove the hash table for miniobjects - since we can't get notified when they get destroyed, we shouldn't be ca...

Original commit message from CVS:

* gst/gst.override:
* gst/pygstminiobject.c:
remove the hash table for miniobjects - since we can't get notified
when they get destroyed, we shouldn't be caching pointer mappings
* testsuite/test_pad.py:
update refcount tests because mini objects now have a ref for
each time an object is made for it

18 years agosome build fixes
Thomas Vander Stichele [Wed, 26 Oct 2005 15:13:00 +0000 (15:13 +0000)]
some build fixes

Original commit message from CVS:
some build fixes

18 years agostate change fix
Thomas Vander Stichele [Wed, 26 Oct 2005 15:03:21 +0000 (15:03 +0000)]
state change fix

Original commit message from CVS:
state change fix

18 years agotestsuite/test_event.py: fix race condition because of state thread
Thomas Vander Stichele [Wed, 26 Oct 2005 14:53:28 +0000 (14:53 +0000)]
testsuite/test_event.py: fix race condition because of state thread

Original commit message from CVS:
* testsuite/test_event.py:
fix race condition because of state thread

18 years agotestsuite/test_bin.py: fix race condition because of state thread
Thomas Vander Stichele [Wed, 26 Oct 2005 14:29:58 +0000 (14:29 +0000)]
testsuite/test_bin.py: fix race condition because of state thread

Original commit message from CVS:

* testsuite/test_bin.py:
fix race condition because of state thread

18 years agoback to HEAD
Thomas Vander Stichele [Sun, 23 Oct 2005 23:07:28 +0000 (23:07 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.9.4
Thomas Vander Stichele [Sun, 23 Oct 2005 23:00:54 +0000 (23:00 +0000)]
releasing 0.9.4

Original commit message from CVS:
releasing 0.9.4

18 years agogst/gst.defs: Cleaned-up symbols which still had the gst_ prefix
Edward Hervey [Sat, 22 Oct 2005 17:12:15 +0000 (17:12 +0000)]
gst/gst.defs: Cleaned-up symbols which still had the gst_ prefix

Original commit message from CVS:
* gst/gst.defs:
Cleaned-up symbols which still had the gst_ prefix
* gst/gst.override:
add gst_deinit to the ignore list

18 years agogst/gstbin.override (_wrap_gst_bin_get_by_name): Dude, like totally don't unref NULL...
Andy Wingo [Thu, 20 Oct 2005 11:37:04 +0000 (11:37 +0000)]
gst/gstbin.override (_wrap_gst_bin_get_by_name): Dude, like totally don't unref NULL objects.

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

* gst/gstbin.override (_wrap_gst_bin_get_by_name): Dude, like
totally don't unref NULL objects.

18 years agogst/: Update (hopefully) final API modifications
Edward Hervey [Wed, 19 Oct 2005 17:32:29 +0000 (17:32 +0000)]
gst/: Update (hopefully) final API modifications

Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Update (hopefully) final API modifications
* gst/gstelement.override:
* gst/gstpad.override:
* gst/gstquery.override:
Updated position querying/parsing
Removed useless debug line
* testsuite/test_element.py:
Updated test for new API

18 years agogst/gstmessage.override: Added wrappers for parsing CLOCK_PROVIDE, CLOCK_LOST, NEW_CL...
Edward Hervey [Wed, 19 Oct 2005 15:41:31 +0000 (15:41 +0000)]
gst/gstmessage.override: Added wrappers for parsing CLOCK_PROVIDE, CLOCK_LOST, NEW_CLOCK and

Original commit message from CVS:
* gst/gstmessage.override:
Added wrappers for parsing CLOCK_PROVIDE, CLOCK_LOST, NEW_CLOCK and
DURATION messages
Fixed a few Tuple constructors
Last commit from me unless huge breakage, got better things to do now
(and it doesn't involve 'my little pony' comics) !

18 years agogst/: Updated API
Edward Hervey [Wed, 19 Oct 2005 15:04:25 +0000 (15:04 +0000)]
gst/: Updated API

Original commit message from CVS:
* gst/gst.defs:
* gst/gst-types.defs:
Updated API
* gst/gstelement.override:
_wrap_gst_element_get_state: made wrapper behave more like codegen-ed
functions.
It now only takes an int or long as optional timeout argument, and if
there's no argument it will use GST_CLOCK_TIME_NONE
* testsuite/test_bin.py:
* testsuite/test_event.py:
* testsuite/test_ghostpad.py:
* testsuite/test_pipeline.py:
Updated testsuites for element.get_state() modifications
Added event parsing checks
Commented out test_ghostpad.PipeTest.testProbedLink til I find out why
"while self._handoffs < 10: pass" doesn't exit although it reaches
values way over 10

18 years agogst/: update for latest API changes
Thomas Vander Stichele [Wed, 19 Oct 2005 11:45:34 +0000 (11:45 +0000)]
gst/: update for latest API changes

Original commit message from CVS:
* gst/gst.defs:
* gst/gstmessage.override:
update for latest API changes
* gst/gstelement.override:
use GstClockTime for get_state
* testsuite/test_pad.py:
add logging

18 years agoexamples/pipeline-tester: Fix for state change changes.
Andy Wingo [Tue, 18 Oct 2005 10:29:02 +0000 (10:29 +0000)]
examples/pipeline-tester: Fix for state change changes.

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

* examples/pipeline-tester: Fix for state change changes.

18 years agoIs your message repr t00 sma11?
Andy Wingo [Tue, 18 Oct 2005 10:17:06 +0000 (10:17 +0000)]
Is your message repr t00 sma11?

Original commit message from CVS:
(_wrap_gst_message_tp_repr): Is your message repr t00 sma11?

18 years agogst/gstmessage.override (_wrap_gst_message_tp_repr): Add a repr for messages.
Andy Wingo [Tue, 18 Oct 2005 10:02:41 +0000 (10:02 +0000)]
gst/gstmessage.override (_wrap_gst_message_tp_repr): Add a repr for messages.

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

* gst/gstmessage.override (_wrap_gst_message_tp_repr): Add a repr
for messages.

18 years agoadd gdb target
Thomas Vander Stichele [Mon, 17 Oct 2005 15:05:29 +0000 (15:05 +0000)]
add gdb target

Original commit message from CVS:
add gdb target

18 years agogst/gst.defs: Updated to new API
Edward Hervey [Fri, 14 Oct 2005 17:27:45 +0000 (17:27 +0000)]
gst/gst.defs: Updated to new API

Original commit message from CVS:
* gst/gst.defs:
Updated to new API

18 years agogst/gst-types.defs: Added GstDate boxed type
Edward Hervey [Fri, 14 Oct 2005 17:13:08 +0000 (17:13 +0000)]
gst/gst-types.defs: Added GstDate boxed type

Original commit message from CVS:
* gst/gst-types.defs:
Added GstDate boxed type
* gst/gst.override:
Added setters and getters for GstDate's day/month/year
Added tp_repr for GstDate

18 years agogst/gst.defs: Update for new API
Edward Hervey [Fri, 14 Oct 2005 16:26:17 +0000 (16:26 +0000)]
gst/gst.defs: Update for new API

Original commit message from CVS:
* gst/gst.defs:
Update for new API
* gst/gst.override:
Added unreffing for gst.Registry.get_plugin_list and .get_feature_list
* testsuite/common.py:
removed crude hack for gst.Registry and gst.Plugin
* testsuite/test_interface.py:
* testsuite/test_caps.py:
* testsuite/test_struct.py:
* testsuite/test_xml.py:
converted to using common's TestCase class
* testsuite/test_event.py:
Enabled/fixed previously non working test
* testsuite/test_registry.py:
Now uses common's TestCase class,
added special case setUp()

18 years agogst/Makefile.am: Added pygstexception.h
Edward Hervey [Thu, 13 Oct 2005 16:05:13 +0000 (16:05 +0000)]
gst/Makefile.am: Added pygstexception.h

Original commit message from CVS:
* gst/Makefile.am: (noinst_HEADERS):
Added pygstexception.h

18 years agogst/: Updated to new API
Edward Hervey [Thu, 13 Oct 2005 15:56:16 +0000 (15:56 +0000)]
gst/: Updated to new API

Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Updated to new API
* gst/gstbus.override:
bus.add_watch() now uses gst_bus_add_watch_full() using
pyg_destroy_notify as the DestroyNotify function, thus enabling
proper python garbage collection.
* testsuite/common.py:
Let's check refcounting of ALL gst.Object
* testsuite/test_bin.py:
Added debug
* testsuite/test_bus.py:
Added "message" signal version of test

18 years agoupdate a test fix an uninited var
Thomas Vander Stichele [Thu, 13 Oct 2005 15:36:04 +0000 (15:36 +0000)]
update a test fix an uninited var

Original commit message from CVS:
update a test
fix an uninited var

18 years agogst/: Use PyList_SetItem() instead of PyList_Append() for faster list creation and...
Edward Hervey [Thu, 13 Oct 2005 10:58:16 +0000 (10:58 +0000)]
gst/: Use PyList_SetItem() instead of PyList_Append() for faster list creation and proper python refcounting.

Original commit message from CVS:
Reviewed by Edward Hervey  <edward@fluendo.com>
* gst/gst.override:
* gst/gstevent.override:
* gst/gstpad.override:
* gst/gstquery.override:
Use PyList_SetItem() instead of PyList_Append() for faster list creation
and proper python refcounting.
Closes bug #318684

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