platform/upstream/gstreamer.git
18 years agogst/gst.defs: gst_object_sink is a method of GstObject const of enums is a stupidity...
Edward Hervey [Sun, 18 Dec 2005 17:20:12 +0000 (17:20 +0000)]
gst/gst.defs: gst_object_sink is a method of GstObject const of enums is a stupidity (_element_make_from_uri)

Original commit message from CVS:
* gst/gst.defs:
gst_object_sink is a method of GstObject
const of enums is a stupidity (_element_make_from_uri)
* gst/gst.override:
Ignore more functions that have no place in bindings or have better
python equivalents (list filtering for example)
Wrapped gst_version() and gst_type_find_factory_get_list()
* gst/gststructure.override:
More ignores
* gst/gsttaglist.override:
ignore gst_is_tag_list.
* gst/interfaces.override:
wrap gst_mixer_options_get_values()

18 years agogst/gstpad.override (handle_event_function_exception)
Andy Wingo [Fri, 16 Dec 2005 14:47:12 +0000 (14:47 +0000)]
gst/gstpad.override (handle_event_function_exception)

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

* gst/gstpad.override (handle_event_function_exception)
(handle_chain_function_exception): GCC told me I needed braces
here.

18 years agoFollow pygtk's lead in installing pygst.py and .pth in pyexecdir - this will do the...
Thomas Vander Stichele [Wed, 14 Dec 2005 17:18:38 +0000 (17:18 +0000)]
Follow pygtk's lead in installing pygst.py and .pth in pyexecdir - this will do the right thing on multilib 64 bit

Original commit message from CVS:

* Makefile.am:
* configure.ac:
Follow pygtk's lead in installing pygst.py and .pth in pyexecdir -
this will do the right thing on multilib 64 bit

18 years agoexamples/gstfile.py: Moved the Discoverer class to gst.extend
Edward Hervey [Mon, 12 Dec 2005 15:15:28 +0000 (15:15 +0000)]
examples/gstfile.py: Moved the Discoverer class to gst.extend

Original commit message from CVS:
* examples/gstfile.py:
Moved the Discoverer class to gst.extend
Now works asynchronous... bl**dy fast :)
* gst/extend/Makefile.am:
* gst/extend/discoverer.py:
Discoverer has landed in extend and is now asynchronous.
It emits a 'discovered' signal when it has finished.

18 years agogst/arg-types.py: This covers for the codegenerator not being able to handle (unsigne...
Edward Hervey [Fri, 9 Dec 2005 13:06:43 +0000 (13:06 +0000)]
gst/arg-types.py: This covers for the codegenerator not being able to handle (unsigned) int64 as parameters and retur...

Original commit message from CVS:
* gst/arg-types.py:
This covers for the codegenerator not being able to handle
(unsigned) int64 as parameters and return values.

18 years agogst/arg-types.py: Added (reverse_)wrapper for GBoxed and GstMiniObject
Edward Hervey [Fri, 9 Dec 2005 12:49:08 +0000 (12:49 +0000)]
gst/arg-types.py: Added (reverse_)wrapper for GBoxed and GstMiniObject

Original commit message from CVS:
* gst/arg-types.py:
Added (reverse_)wrapper for GBoxed and GstMiniObject
* gst/gst.defs:
push_event() and chain() takes the reference on the
MiniObject.

18 years agogst/gstmessage.override: Fix for memleak
Edward Hervey [Wed, 7 Dec 2005 14:41:37 +0000 (14:41 +0000)]
gst/gstmessage.override: Fix for memleak

Original commit message from CVS:
* gst/gstmessage.override:
Fix for memleak

18 years agoback to HEAD
Thomas Vander Stichele [Mon, 5 Dec 2005 18:12:42 +0000 (18:12 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.10.0
Thomas Vander Stichele [Mon, 5 Dec 2005 18:04:34 +0000 (18:04 +0000)]
releasing 0.10.0

Original commit message from CVS:
releasing 0.10.0

18 years agogst/gst.defs: Wrapped last pre-0.10 API update (I hope...)
Edward Hervey [Mon, 5 Dec 2005 13:10:59 +0000 (13:10 +0000)]
gst/gst.defs: Wrapped last pre-0.10 API update (I hope...)

Original commit message from CVS:
* gst/gst.defs: (alloc_buffer_and_set_caps):
Wrapped last pre-0.10 API update (I hope...)
* examples/gstfile.py: (Discoverer._new_decoded_pad_cb):
Fix for fractional framerates.

18 years agoexamples/gstfile.py: Fix for fractional framerates.
Edward Hervey [Mon, 5 Dec 2005 12:01:32 +0000 (12:01 +0000)]
examples/gstfile.py: Fix for fractional framerates.

Original commit message from CVS:
* examples/gstfile.py: (Discoverer._new_decoded_pad_cb):
Fix for fractional framerates.

18 years agotestsuite/test_registry.py (RegistryTest.testPluginList): Look for staticelements...
Andy Wingo [Mon, 5 Dec 2005 10:58:30 +0000 (10:58 +0000)]
testsuite/test_registry.py (RegistryTest.testPluginList): Look for staticelements, not gstcoreelements.

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

* testsuite/test_registry.py (RegistryTest.testPluginList): Look
for staticelements, not gstcoreelements.

18 years agoback to HEAD
Thomas Vander Stichele [Thu, 1 Dec 2005 19:18:41 +0000 (19:18 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.9.7
Thomas Vander Stichele [Thu, 1 Dec 2005 19:15:26 +0000 (19:15 +0000)]
releasing 0.9.7

Original commit message from CVS:
releasing 0.9.7

18 years agoconfigure.ac (GST_PLUGINS_BASE_LIBS): Check for gstreamer-plugins-base.pc, the one...
Andy Wingo [Thu, 1 Dec 2005 12:34:46 +0000 (12:34 +0000)]
configure.ac (GST_PLUGINS_BASE_LIBS): Check for gstreamer-plugins-base.pc, the one that has the interfaces etc.

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

* configure.ac (GST_PLUGINS_BASE_LIBS): Check for
gstreamer-plugins-base.pc, the one that has the interfaces etc.

* gst/Makefile.am (interfaces_la_CFLAGS, interfaces_la_LDFLAGS):
PLUGINS_BASE, not BASE.

18 years agogst-interfaces-0.9.pc is no more, update to new use
Edward Hervey [Wed, 30 Nov 2005 18:25:53 +0000 (18:25 +0000)]
gst-interfaces-0.9.pc is no more, update to new use

Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
gst-interfaces-0.9.pc is no more, update to new use
* testsuite/test_element.py:
Fix for queue modification

18 years agogst/: Queue is now a plugin, remove static references
Edward Hervey [Wed, 30 Nov 2005 11:50:04 +0000 (11:50 +0000)]
gst/: Queue is now a plugin, remove static references

Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gst.override:
Queue is now a plugin, remove static references

18 years agogst/gst.defs: Update for API changes
Edward Hervey [Tue, 29 Nov 2005 17:25:54 +0000 (17:25 +0000)]
gst/gst.defs: Update for API changes

Original commit message from CVS:
* gst/gst.defs:
Update for API changes
* gst/gstquery.override:
wrapper for query_parse_seeking()

18 years agogst/gst.override: Ignore all *_full functions/methods
Edward Hervey [Thu, 24 Nov 2005 11:47:15 +0000 (11:47 +0000)]
gst/gst.override: Ignore all *_full functions/methods

Original commit message from CVS:
* gst/gst.override:
Ignore all *_full functions/methods
* gst/gstbus.override:
Wrapper for gst_bus_add_signal_watch that now takes an optional
priority argument

18 years agoadd a torture target
Thomas Vander Stichele [Wed, 23 Nov 2005 21:28:24 +0000 (21:28 +0000)]
add a torture target

Original commit message from CVS:
add a torture target

18 years agoback to HEAD
Thomas Vander Stichele [Wed, 23 Nov 2005 20:06:52 +0000 (20:06 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.9.6
Thomas Vander Stichele [Wed, 23 Nov 2005 19:58:39 +0000 (19:58 +0000)]
releasing 0.9.6

Original commit message from CVS:
releasing 0.9.6

18 years agogst/: And more API updated, pom po do pom pom pom....
Edward Hervey [Wed, 23 Nov 2005 14:43:26 +0000 (14:43 +0000)]
gst/: And more API updated, pom po do pom pom pom....

Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
And more API updated, pom po do pom pom pom....

18 years agogst/interfaces.defs: Update for Interfaces API changes
Edward Hervey [Wed, 23 Nov 2005 10:21:34 +0000 (10:21 +0000)]
gst/interfaces.defs: Update for Interfaces API changes

Original commit message from CVS:
* gst/interfaces.defs:
Update for Interfaces API changes

18 years agogst/: API updates
Edward Hervey [Wed, 23 Nov 2005 09:53:52 +0000 (09:53 +0000)]
gst/: API updates

Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
API updates

18 years agogst/: Added FractionRange type
Edward Hervey [Tue, 22 Nov 2005 14:15:03 +0000 (14:15 +0000)]
gst/: Added FractionRange type

Original commit message from CVS:
* gst/pygstvalue.c: (pygst_value_as_pyobject),
(pygst_value_init_for_pyobject), (pygst_value_from_pyobject),
(pygst_value_init):
* gst/__init__.py:
Added FractionRange type
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gst.override:
API updates

18 years agogst/: Run update-funcnames.
Andy Wingo [Tue, 22 Nov 2005 12:02:41 +0000 (12:02 +0000)]
gst/: Run update-funcnames.

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

* gst/gst.defs:
* gst/gstevent.override: Run update-funcnames.

18 years agogst/xoverlay.defs: Update for API changes in XOverlay interface
Edward Hervey [Tue, 22 Nov 2005 00:02:14 +0000 (00:02 +0000)]
gst/xoverlay.defs: Update for API changes in XOverlay interface

Original commit message from CVS:
* gst/xoverlay.defs:
Update for API changes in XOverlay interface

18 years agoAdd an example for the cutter element
Thomas Vander Stichele [Mon, 21 Nov 2005 19:53:17 +0000 (19:53 +0000)]
Add an example for the cutter element

Original commit message from CVS:
Add an example for the cutter element

18 years agoclosure visiting should be LOG
Thomas Vander Stichele [Mon, 21 Nov 2005 19:51:45 +0000 (19:51 +0000)]
closure visiting should be LOG

Original commit message from CVS:
closure visiting should be LOG

18 years agogst/gst-types.defs: GstSegment is properly wrapped
Edward Hervey [Mon, 21 Nov 2005 19:13:57 +0000 (19:13 +0000)]
gst/gst-types.defs: GstSegment is properly wrapped

Original commit message from CVS:
* gst/gst-types.defs:
GstSegment is properly wrapped
* gst/gst.defs:
Add GstBin::handle_message virtual method

18 years agogst/gst.override: Take either int or longs and return unsigned long long
Edward Hervey [Mon, 21 Nov 2005 18:58:50 +0000 (18:58 +0000)]
gst/gst.override: Take either int or longs and return unsigned long long

Original commit message from CVS:
* gst/gst.override: (_wrap_GST_TIME_ARGS):
Take either int or longs and return unsigned long long

18 years agoexamples/gstfile.py: Cleanup
Edward Hervey [Mon, 21 Nov 2005 18:48:19 +0000 (18:48 +0000)]
examples/gstfile.py: Cleanup

Original commit message from CVS:
* examples/gstfile.py:
Cleanup
* gst/gst-types.defs:
* gst/gst.defs:
API update.
More fixes to follow.

18 years agogst/gst.defs (net_client_clock_new): Add some defaults.
Andy Wingo [Mon, 21 Nov 2005 16:20:50 +0000 (16:20 +0000)]
gst/gst.defs (net_client_clock_new): Add some defaults.

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

* gst/gst.defs (net_client_clock_new): Add some defaults.

18 years agogst/: API updates
Edward Hervey [Mon, 21 Nov 2005 15:38:03 +0000 (15:38 +0000)]
gst/: API updates

Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
API updates
* gst/pygstvalue.c: (pygst_value_as_pyobject),
(pygst_value_from_pyobject):
Fixes for gst_value_array and GST_FOURCC_FORMAT

18 years agogst/gst.defs: Rename gst_caps_structure_fixate_* to gst_structure_fixate_* (#322027)
Jan Schmidt [Mon, 21 Nov 2005 14:34:41 +0000 (14:34 +0000)]
gst/gst.defs: Rename gst_caps_structure_fixate_* to gst_structure_fixate_* (#322027)

Original commit message from CVS:
* gst/gst.defs:
Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
(#322027)

18 years agogst/: Update for latest API changes
Edward Hervey [Mon, 21 Nov 2005 11:05:33 +0000 (11:05 +0000)]
gst/: Update for latest API changes

Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Update for latest API changes
Still have to make GstSegment properly wrappable (GBoxed?)

18 years agoadd header stuff
Thomas Vander Stichele [Sat, 19 Nov 2005 10:37:58 +0000 (10:37 +0000)]
add header stuff

Original commit message from CVS:
add header stuff

18 years agogst/Makefile.am: Add GST_NET libs. gst/gst.defs (gst_net_time_provider_new)
Andy Wingo [Fri, 18 Nov 2005 16:26:05 +0000 (16:26 +0000)]
gst/Makefile.am: Add GST_NET libs. gst/gst.defs (gst_net_time_provider_new)

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

* gst/Makefile.am: Add GST_NET libs.

* gst/gst.defs (gst_net_time_provider_new)
(gst_net_client_clock_new): Add constructors

* configure.ac: Check for gstreamer-net as well.

* gst/gst.override: Include gst/net/gstnet.h.

* gst/gst-types.defs (NetTimeProvider, NetClientClock): Added new
types.

18 years agogst/gst.defs: Keep refcount for the message of gst_bus_post()
Edward Hervey [Tue, 15 Nov 2005 15:35:44 +0000 (15:35 +0000)]
gst/gst.defs: Keep refcount for the message of gst_bus_post()

Original commit message from CVS:
* gst/gst.defs:
Keep refcount for the message of gst_bus_post()
* gst/gststructure.override:
Don't free a structure on dealloc (the parent does that)
* testsuite/test_message.py:
Proper testing of bus functionnality with a mainloop

18 years agoadd gst.message_application_new test case
Johan Dahlin [Tue, 15 Nov 2005 14:38:38 +0000 (14:38 +0000)]
add gst.message_application_new test case

Original commit message from CVS:
add gst.message_application_new test case

18 years agoback to head
Thomas Vander Stichele [Fri, 11 Nov 2005 19:42:50 +0000 (19:42 +0000)]
back to head

Original commit message from CVS:
back to head

18 years agoreleasing 0.9.5
Thomas Vander Stichele [Fri, 11 Nov 2005 19:42:07 +0000 (19:42 +0000)]
releasing 0.9.5

Original commit message from CVS:
releasing 0.9.5

18 years agogst/gsttaglist.override: put the gst.TagList.keys() method back.
Edward Hervey [Thu, 10 Nov 2005 13:03:14 +0000 (13:03 +0000)]
gst/gsttaglist.override: put the gst.TagList.keys() method back.

Original commit message from CVS:
* gst/gsttaglist.override:
put the gst.TagList.keys() method back.

18 years agogst/gstmodule.c: Added GST_TAG_* string constants
Edward Hervey [Thu, 10 Nov 2005 12:48:49 +0000 (12:48 +0000)]
gst/gstmodule.c: Added GST_TAG_* string constants

Original commit message from CVS:
* gst/gstmodule.c: (init_gst):
Added GST_TAG_* string constants
* gst/gstpad.override:
Make probe handler return TRUE if the Python callback doesn't return
anything.
* gst/gsttaglist.override:
Cleaned up gst.TagList, works as a dictionnary.

18 years agogst/gst.*: Added new function gst.TIME_ARGS which returns the string representation...
Edward Hervey [Tue, 8 Nov 2005 17:22:54 +0000 (17:22 +0000)]
gst/gst.*: Added new function gst.TIME_ARGS which returns the string representation of a GstClockTime

Original commit message from CVS:
* gst/gst.defs:
* gst/gst.override:
Added new function gst.TIME_ARGS which returns the string
representation of a GstClockTime

18 years agoupdate spec file to work with latest changes
Christian Schaller [Mon, 7 Nov 2005 15:16:56 +0000 (15:16 +0000)]
update spec file to work with latest changes

Original commit message from CVS:
update spec file to work with latest changes

18 years agogst/gstelement.override: So apparently 0 != O :)
Edward Hervey [Fri, 4 Nov 2005 18:30:47 +0000 (18:30 +0000)]
gst/gstelement.override: So apparently 0 != O :)

Original commit message from CVS:
* gst/gstelement.override:
So apparently 0 != O :)

18 years agogst/gstpad.override: works better now we set the item to the proper position...
Edward Hervey [Fri, 4 Nov 2005 16:28:15 +0000 (16:28 +0000)]
gst/gstpad.override: works better now we set the item to the proper position...

Original commit message from CVS:
* gst/gstpad.override:
works better now we set the item to the proper position...

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.