Commit graph

332 commits

Author SHA1 Message Date
Thomas Vander Stichele
915b66d2f1 install in pyexecdir as well
Original commit message from CVS:

* configure.ac:
* gst/Makefile.am:
* gst/extend/Makefile.am:
install in pyexecdir as well
2005-12-22 15:56:41 +00:00
Edward Hervey
1170d64e5f gst/gst-types.defs: Added GstStaticCaps and GstStaticPadTemplate, using the new GType.
Original commit message from CVS:
* gst/gst-types.defs:
Added GstStaticCaps and GstStaticPadTemplate, using the new GType.
* gst/gst.defs:
Doesn't return a const anymore.
* gst/gstelementfactory.override:
Wrapped gst_element_factory_get_static_pad_templates()
2005-12-20 11:15:50 +00:00
Martin Soto
d3b9836bbd gst/gstbus.override (_wrap_gst_bus_add_watch): This function incorrectly returned self, which was causing the message...
Original commit message from CVS:
2005-12-19  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/gstbus.override (_wrap_gst_bus_add_watch): This function
incorrectly returned self, which was causing the message bus to
get prematurely destroyed by the Python interpreter. Now returns
Py_None.
2005-12-19 17:49:30 +00:00
Edward Hervey
c709d39be9 gst/gst.override: ignore gst_object_sink
Original commit message from CVS:
* gst/gst.override:
ignore gst_object_sink
2005-12-19 16:05:34 +00:00
Edward Hervey
ed0b93ff9f gst/: Properly wrap the gst_dp_* functions (cast gchar* to guint8*).
Original commit message from CVS:
* gst/gstlibs.override:
* gst/libs.defs:
Properly wrap the gst_dp_* functions (cast gchar* to guint8*).
2005-12-19 10:45:45 +00:00
Edward Hervey
99aa909d5b gst/gst.override: ignore gst_plugin_get_module, GModule aren't wrapped in pygtk anyway.
Original commit message from CVS:
* gst/gst.override:
ignore gst_plugin_get_module, GModule aren't wrapped in
pygtk anyway.
wrap gst_clock_get_calibration
* gst/gstbus.override:
Ignore the following:
gst_bus_create_watch, since GSource aren't wrapped in pygtk
gst_bus_sync_signal_handler and gst_bus_async_signal_func since
these functions are used by the default bus handler anyway.
* gst/gstevent.override:
wrapped gst_event_parse_buffer_size
* gst/libs.defs:
Replace all guint8* for gst_dp_ functions by gchar * since they
are the same, but at least get generated properly by the code
generator.
2005-12-18 18:15:57 +00:00
Edward Hervey
3ef436193d 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()
2005-12-18 17:20:12 +00:00
Andy Wingo
1374aac3fa 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.
2005-12-16 14:47:12 +00:00
Edward Hervey
1e233d42c1 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.
2005-12-12 15:15:28 +00:00
Edward Hervey
ddf94ea8fa 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.
2005-12-09 13:06:43 +00:00
Edward Hervey
0a43240369 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.
2005-12-09 12:49:08 +00:00
Edward Hervey
d2bb507a16 gst/gstmessage.override: Fix for memleak
Original commit message from CVS:
* gst/gstmessage.override:
Fix for memleak
2005-12-07 14:41:37 +00:00
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