Commit graph

320 commits

Author SHA1 Message Date
Edward Hervey
b3e564eff5 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.
2005-12-05 13:10:59 +00:00
Thomas Vander Stichele
5d781f908f releasing 0.9.7
Original commit message from CVS:
releasing 0.9.7
2005-12-01 19:15:26 +00:00
Andy Wingo
3e68928bdd 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.
2005-12-01 12:34:46 +00:00
Edward Hervey
84a8faf247 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
2005-11-30 18:25:53 +00:00
Edward Hervey
e19930da1b 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
2005-11-30 11:50:04 +00:00
Edward Hervey
0d9a68bdbd 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()
2005-11-29 17:25:54 +00:00
Edward Hervey
5e1b07e151 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
2005-11-24 11:47:15 +00:00
Edward Hervey
fbe483d85b 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....
2005-11-23 14:43:26 +00:00
Edward Hervey
d73a152fec gst/interfaces.defs: Update for Interfaces API changes
Original commit message from CVS:
* gst/interfaces.defs:
Update for Interfaces API changes
2005-11-23 10:21:34 +00:00
Edward Hervey
714df8342a gst/: API updates
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
API updates
2005-11-23 09:53:52 +00:00
Edward Hervey
96256ac65c 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
2005-11-22 14:15:03 +00:00
Andy Wingo
6592099266 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.
2005-11-22 12:02:41 +00:00
Edward Hervey
b805b03830 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
2005-11-22 00:02:14 +00:00
Thomas Vander Stichele
af9f81b29e closure visiting should be LOG
Original commit message from CVS:
closure visiting should be LOG
2005-11-21 19:51:45 +00:00
Edward Hervey
94e5acd317 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
2005-11-21 19:13:57 +00:00
Edward Hervey
767ea14800 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
2005-11-21 18:58:50 +00:00
Edward Hervey
9bee5b3f6a 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.
2005-11-21 18:48:19 +00:00
Andy Wingo
e01f28103c 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.
2005-11-21 16:20:50 +00:00
Edward Hervey
dfa96f5a01 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
2005-11-21 15:38:03 +00:00
Jan Schmidt
19bed1cfaf 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)
2005-11-21 14:34:41 +00:00
Edward Hervey
a6c9792b45 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?)
2005-11-21 11:05:33 +00:00
Andy Wingo
e87a22eb62 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.
2005-11-18 16:26:05 +00:00
Edward Hervey
53f9716a25 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
2005-11-15 15:35:44 +00:00
Edward Hervey
3076c7c22e 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.
2005-11-10 13:03:14 +00:00
Edward Hervey
e3beb3ed78 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.
2005-11-10 12:48:49 +00:00
Edward Hervey
0ca0d99781 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
2005-11-08 17:22:54 +00:00
Edward Hervey
b6650fb5db gst/gstelement.override: So apparently 0 != O :)
Original commit message from CVS:
* gst/gstelement.override:
So apparently 0 != O :)
2005-11-04 18:30:47 +00:00
Edward Hervey
489d9c24a5 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...
2005-11-04 16:28:15 +00:00
Edward Hervey
bf88eeddbb 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.
2005-11-04 13:14:59 +00:00
Johan Dahlin
207d16443d plug leak
Original commit message from CVS:
plug leak
2005-11-02 13:54:21 +00:00
Edward Hervey
1912b5b2eb 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
2005-11-01 18:19:08 +00:00
Edward Hervey
85b73ba53f 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
2005-11-01 15:36:23 +00:00
Thomas Vander Stichele
5f81d50344 reindent the gst way
Original commit message from CVS:
reindent the gst way
2005-10-27 15:54:32 +00:00
Edward Hervey
9f09254291 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
2005-10-27 14:46:59 +00:00
Thomas Vander Stichele
f2a5a97ac3 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
2005-10-27 09:51:18 +00:00
Thomas Vander Stichele
723f72b0fb 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
2005-10-27 08:51:20 +00:00
Thomas Vander Stichele
17fe008b8f some build fixes
Original commit message from CVS:
some build fixes
2005-10-26 15:13:00 +00:00
Edward Hervey
6ba71d7b9a 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
2005-10-22 17:12:15 +00:00
Andy Wingo
1404e0762b 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.
2005-10-20 11:37:04 +00:00
Edward Hervey
b07e3f3cf8 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
2005-10-19 17:32:29 +00:00
Edward Hervey
4faa00625e 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) !
2005-10-19 15:41:31 +00:00
Edward Hervey
b06c5a8a9e 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
2005-10-19 15:04:25 +00:00
Thomas Vander Stichele
a96098cba8 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
2005-10-19 11:45:34 +00:00
Andy Wingo
840d8e2072 Is your message repr t00 sma11?
Original commit message from CVS:
(_wrap_gst_message_tp_repr): Is your message repr t00 sma11?
2005-10-18 10:17:06 +00:00
Andy Wingo
9cd2add463 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.
2005-10-18 10:02:41 +00:00
Edward Hervey
7aac0c417e gst/gst.defs: Updated to new API
Original commit message from CVS:
* gst/gst.defs:
Updated to new API
2005-10-14 17:27:45 +00:00
Edward Hervey
4bac0b3066 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
2005-10-14 17:13:08 +00:00
Edward Hervey
2aa12f0142 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()
2005-10-14 16:26:17 +00:00
Edward Hervey
9f4d0c6bb3 gst/Makefile.am: Added pygstexception.h
Original commit message from CVS:
* gst/Makefile.am: (noinst_HEADERS):
Added pygstexception.h
2005-10-13 16:05:13 +00:00
Edward Hervey
03f65e4179 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
2005-10-13 15:56:16 +00:00