Commit graph

138 commits

Author SHA1 Message Date
Edward Hervey
7b27608a71 Series of update for new API added to 0.10.16.
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/base.defs:
* gst/gst-0.10.15.ignore:
* gst/gst-0.10.16.ignore:
* gst/gst-pb-0.10.15.ignore:
* gst/gst-pb-0.10.16.ignore:
* gst/gst.defs:
* gst/gstversion.override.in:
* gst/pbutils.override:
* testsuite/test_pbutils.py:
Series of update for new API added to 0.10.16.
Remove wrong ignore file for 0.10.15 -base.
2008-01-14 12:44:06 +00:00
Edward Hervey
c0b572b89f gst/: Update API changes for core+base pre-releases
Original commit message from CVS:
* gst/base.defs:
* gst/gst-0.10.15.ignore:
* gst/gst.defs:
* gst/gst.override:
* gst/gstmodule.c: (init_gst):
Update API changes for core+base pre-releases
2007-11-08 19:56:54 +00:00
Alessandro Decina
898f527739 gst/gst.*: Patch from Alessandro Decina adding get_type_full and get_protocols_full private vfuncs to the URIHandler ...
Original commit message from CVS:
* gst/gst.defs:
* gst/gst.override:
Patch from Alessandro Decina adding get_type_full and
get_protocols_full private vfuncs to the URIHandler interface
to allow bindings to support creating URI handlers.
Partially fixes: #339279
2007-10-25 16:18:55 +00:00
Edward Hervey
13804466c9 gst/gst.*: Thanks to Sebastien Merle for resurrecting a patch I'd forgotten about that adds a constructor method for ...
Original commit message from CVS:
* gst/gst.defs:
* gst/gst.override:
Thanks to Sebastien Merle for resurrecting a patch I'd forgotten about
that adds a constructor method for gst.GError, so you can create
error gst.Message.
Added a few GIL releases for overrides.
2007-10-18 08:44:43 +00:00
Edward Hervey
ef1189b506 gst/: Update API definitions for GStreamer core and gst-plugins-base.
Original commit message from CVS:
* gst/base.defs:
* gst/libs.defs:
* gst/gst.defs:
* gst/gst.override:
Update API definitions for GStreamer core and gst-plugins-base.
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.15.ignore:
* gst/gst-pb-0.10.15.ignore:
* gst/gstversion.override.in:
New .ignore for 0.10.14.* API
2007-10-09 16:17:28 +00:00
Edward Hervey
7ef06cab13 gst/: Adding new API additions
Original commit message from CVS:
* gst/base.defs:
* gst/gst.defs:
* gst/interfaces.defs:
* gst/libs.defs:
* gst/gst.override:
* gst/gstmodule.c: (init_gst):
Adding new API additions
* gst/gstmessage.override:
wrap GstMessage.parse_buffering.
* gst/interfaces.override:
wrap gst_mixer_message_parse_*() functions.
wrap GstVideoOrientation::get_*() methods.
2007-07-28 14:26:54 +00:00
Edward Hervey
be00a83bb8 gst/gst.defs: Make .get_uri_type() methods return a GstURIType enum instead of an integer.
Original commit message from CVS:
reviewed by: Edward Hervey  <bilboed@bilboed.com>
* gst/gst.defs:
Make .get_uri_type() methods return a GstURIType enum instead of an
integer.
Fixes #436620
2007-07-27 11:21:31 +00:00
Rene Stadler
f86fb60e09 gst/: Handle 'gchar**' (GStrv) arguments in a uniform way.
Original commit message from CVS:
Patch by: Rene Stadler <mail@renestadler.de>
* gst/arg-types.py:
* gst/gst.defs:
* gst/gst.override:
Handle 'gchar**' (GStrv) arguments in a uniform way.
Fixes #385841
2007-07-05 13:57:41 +00:00
Edward Hervey
8a1e47b050 Updating ignores for API additions
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.12.ignore:
* gst/gst-0.10.13.ignore:
* gst/gstversion.override.in:
Updating ignores for API additions
* gst/base.defs:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/interfaces.defs:
* gst/libs.defs:
Massive wrapping of new API additions
* gst/gstbase.override:
* gst/gstevent.override:
* gst/gstmessage.override:
* gst/gstquery.override:
Overrides for methods with return values as arguments.
* gst/xwindowlistener.defs:
What the $#@# is this file still doing here ?? Removing it.
2007-06-08 15:16:08 +00:00
Edward Hervey
c5741e1c64 Add ignore file for 0.10.12 API additions
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gstversion.override.in:
* gst/gst-0.10.12.ignore:
Add ignore file for 0.10.12 API additions
* gst/gst.defs:
* gst/base.defs:
* gst/gst-types.defs:
Add new API definitions
* gst/gst-0.10.10.ignore:
* gst/gst-0.10.11.ignore:
Fixup ignore files.
* testsuite/test_segment.py:
The update return value is uncertain and will soon be deprecated, don't
check against it anymore.
2007-01-26 11:58:55 +00:00
Edward Hervey
db76ff3908 gst/gst.defs: Add declaration of gst_object_set_property so we can use our MT-safe version of set_property().
Original commit message from CVS:
* gst/gst.defs:
Add declaration of gst_object_set_property so we can use our MT-safe
version of set_property().
* gst/gstobject.override:
Implement a MT-safe version of g_object_set_property for GstObject.
The problem is that currently g_object_set_property is called in
pygobject with the GIL lock taken. This can cause deadlocks.
Remove this hack once bug #395048 is fixed in pygobject and we depend on
the fixed version.
Thanks to Lord Wingo of the "realm.py haters club" for proposing the
idea.
2007-01-11 17:45:46 +00:00
Edward Hervey
d6df984612 gst/gst.defs: Update API definitions.
Original commit message from CVS:
* gst/gst.defs:
Update API definitions.
* gst/common.h:
* gst/gstpad.override:
Add wrapper functions for settings activate, activatepull and
activatepush functions on pads.
* gst/gst.override:
Wrapper for gst_segment_set_seek() and gst_segment_clip()
Remove global ignore for *_init(), allows gst_segment_init() to be
properly code-generated.
* testsuite/Makefile.am:
* testsuite/test_segment.py:
Add unit test for gst.Segment object.
2006-12-19 11:38:01 +00:00
Edward Hervey
83e76dd47d gst/gst-0.10.10.ignore: Added symbols added in 0.10.10
Original commit message from CVS:
* gst/gst-0.10.10.ignore:
Added symbols added in 0.10.10
* gst/gst-0.10.6.ignore:
gst_dp_packetizer_new() addition
* gst/gst.defs:
Updated API for 0.10.10 symbols
* gst/gstmodule.c: (init_gst):
Added GST_TAG_EXTENDED_COMMENT which appeared in 0.10.10
* gst/libs.defs:
Added gst_dp_packetizer_new() which was added in 0.10.6. It still won't
work because GstDPPacketizer is a pointer. It needs to have a GBoxed
definition in order to be used properly within gst-python.
Also added controller-related additions
2006-10-20 11:33:01 +00:00
Edward Hervey
ad1f511e6b Added ignore files for 0.10.11 gstreamer core
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.11.ignore:
* gst/gstversion.override.in:
Added ignore files for 0.10.11 gstreamer core
* gst/base.defs:
Updated API for base libs
* gst/gst.defs:
Updated API for core
* gst/gst.override:
remove #ifdef for methods which weren't available in versions of pygtk
we don't support anymore.
* gst/gstbase.override:
Added overrides for GstBaseSink::get_times() virtual method
* gst/gstbin.override:
Added override for GstBin::handle_message() virtual method
2006-10-20 10:41:46 +00:00
Tim-Philipp Müller
6d8f3a459f gst/gst.defs: Don't use 'interface' as variable name, MingW doesn't like that (fixes #359375).
Original commit message from CVS:
* gst/gst.defs:
Don't use 'interface' as variable name, MingW doesn't like that
(fixes #359375).
2006-10-16 14:46:19 +00:00
Edward Hervey
9f017ec3e9 gst/gst-0.10.10.ignore: API addition
Original commit message from CVS:
* gst/gst-0.10.10.ignore:
API addition
* gst/gst.defs:
Added new ghostpad functions.
2006-08-31 14:03:44 +00:00
Edward Hervey
406f1b0fc8 Add new ignore for 0.10.10 API additions
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.10.ignore:
* gst/gstversion.override.in:
Add new ignore for 0.10.10 API additions
* gst/gst.defs:
Added definitions for new segtrap functions
2006-07-18 15:33:41 +00:00
Edward Hervey
cee7d60ee4 codegen/codegen.py: Always unblock threads when going to C.
Original commit message from CVS:
* codegen/codegen.py:
Always unblock threads when going to C.
* gst/gst.defs:
Revert unblock-threads noise.
2006-06-15 09:58:08 +00:00
Edward Hervey
a48e8b6e6b gst/gst-types.defs: Added fields for GstPadTemplate.
Original commit message from CVS:
* gst/gst-types.defs:
Added fields for GstPadTemplate.
* gst/gst.defs:
Made gst_element_class_get_template_list a GstElement method.
* gst/gstelement.override:
Override for gst.Element.get_template_list()
* gst/gstpad.override:
Override getter for GstStaticPadTemplate.static_caps so that it uses
the correct pointer.
2006-06-14 10:00:32 +00:00
Edward Hervey
54b5a6bf6e gst/gst.defs: Add 'unblock-threads #t' for critical functions/methods.
Original commit message from CVS:
* gst/gst.defs:
Add 'unblock-threads #t' for critical functions/methods.
2006-06-13 10:55:09 +00:00
Edward Hervey
bc17f73dcb codegen/: Updated codegenerator to current pygtk one.
Original commit message from CVS:
* codegen/Makefile.am:
* codegen/argtypes.py:
* codegen/codegen.py:
* codegen/definitions.py:
* codegen/defsconvert.py:
* codegen/defsparser.py:
* codegen/docextract.py:
* codegen/docextract_to_xml.py:
* codegen/docgen.py:
* codegen/h2def.py:
* codegen/mergedefs.py:
* codegen/missingdefs.py:
* codegen/mkskel.py:
* codegen/override.py:
* codegen/reversewrapper.py:
Updated codegenerator to current pygtk one.
* gst/gst.defs:
* gst/gst.override:
* gst/gstpad.override:
Update defs for new constructor definition.
* testsuite/test_bin.py:
With new constructors, pygobject will try to convert the argument to the
proper GType (here a string).
2006-06-09 10:50:21 +00:00
Edward Hervey
6189051361 gst/: Update for API additions.
Original commit message from CVS:
* gst/base.defs:
* gst/gst-0.10.7.ignore:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gstbase.override:
* gst/libs.defs:
Update for API additions.
* gst/gstmodule.c: (init_gst):
Added new GST_TAG_IMAGE and GST_TAG_PREVIEW_IMAGE
2006-06-09 10:12:16 +00:00
Edward Hervey
01f935c116 Added ignore file for core 0.10.7
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.7.ignore:
* gst/gstversion.override.in:
Added ignore file for core 0.10.7
* gst/base.defs:
Added gst_adapter_take_buffer
* gst/gst-0.10.6.ignore:
Filed API addition for 0.10.6
* gst/gst-types.defs:
Added GstTypeFind pointer definition
* gst/gst.defs:
* gst/gst.override:
Added fake function gst_type_find_new() to create a GstTypeFind that can
be used in all typefinding function.
GstTypeFind *
gst_type_find_new(data, peekfunction, suggestfunction [, getlenghtfunction])
2006-05-19 08:48:22 +00:00
Edward Hervey
f92b4c9ef1 Update for API changes.
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.6.ignore:
* gst/gst.defs:
* gst/gstversion.override.in:
Update for API changes.
Added ignore files for core 0.10.6 API additions.
2006-05-09 14:24:02 +00:00
Edward Hervey
31033595e4 gst/arg-types.py: GstMiniObject used as virtual methods parameters should be unreffed before calling the method and t...
Original commit message from CVS:
* gst/arg-types.py:
GstMiniObject used as virtual methods parameters should be unreffed
before calling the method and the ref-ed.
Added Params and Returns for const-gchar*, GType and gulong so the
code generator can generate more virtual methods handlers/proxys.
* gst/gst-types.defs:
* gst/gst.defs:
* gst/interfaces.defs:
Added vtable and virtual method definition for interfaces so we can properly use virtual
methods from those interfaces in python.
2006-04-28 15:07:41 +00:00
Andy Wingo
8f0143c56e gst/arg-types.py (GstCapsArg.beforenull): py_caps can be NULL if it is an optional argument. Translate this python no...
Original commit message from CVS:
2006-04-07  Andy Wingo  <wingo@pobox.com>

* gst/arg-types.py (GstCapsArg.beforenull): py_caps can be NULL if
it is an optional argument. Translate this python non-value to the
C NULL.

* gst/gst.defs (get_compatible_pad): Filter caps is optional and
can be None. It defaults to None.
2006-04-07 17:21:27 +00:00
Andy Wingo
59667a31a7 gst/gst.defs (element_make_from_uri): Element name is optional and can be None. It defaults to None.
Original commit message from CVS:
2006-04-07  Andy Wingo  <wingo@pobox.com>

* gst/gst.defs (element_make_from_uri): Element name is optional
and can be None. It defaults to None.
2006-04-07 14:32:08 +00:00
Andy Wingo
b3fb726a67 configure.ac (PYGST_MICRO_VERSION): Doc fix.
Original commit message from CVS:
2006-04-05  Andy Wingo  <wingo@pobox.com>

* configure.ac (PYGST_MICRO_VERSION): Doc fix.
(PYGST_NANO_VERSION): New define.

* gst/__init__.py (version): Add as an alias for get_gst_version.
Should use the deprecation infrastructure here.

* gst/gst.defs: Add defs for the new wrapped functions.

* gst/gst.override (_wrap_gst_get_pygst_version)
(_wrap_gst_get_gst_version): New overrides, functions to access
the gstreamer and pygst versions. The first used to be called
gst_version(); we ignore gst_version now.
2006-04-05 11:55:48 +00:00
Edward Hervey
3136c7ef6d gst/gst.defs: gst_element_post_message: Adding keep-refcount tag to the message since the function will unref it.
Original commit message from CVS:
* gst/gst.defs:
gst_element_post_message: Adding keep-refcount tag to the message since
the function will unref it.
2006-04-04 16:16:46 +00:00
Edward Hervey
183e0f7210 configure.ac: Fixes in how we figure out what API to ignore
Original commit message from CVS:
* configure.ac:
Fixes in how we figure out what API to ignore
* gst/Makefile.am:
* gst/gst-0.10.5.ignore:
* gst/gstversion.override.in:
Added file for handling API additions for gstreamer 0.10.5
* gst/base.defs:
* gst/gst.defs:
New API
* gst/gstpad.override:
Overrides for gst.Pad.query_peer_*()
2006-03-24 11:07:22 +00:00
Edward Hervey
7c377f9596 gst/: Added new API: gst_pipeline_[get|set]_auto_flush_bus() gst_uri_has_protocol()
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added new API:
gst_pipeline_[get|set]_auto_flush_bus()
gst_uri_has_protocol()
GST_RESOURCE_ERROR_NO_SPACE_LEFT
2006-03-10 10:54:40 +00:00
Edward Hervey
c690bf507f gst/: Updated and properly wrapped new GstQuery formats API.
Original commit message from CVS:
* gst/gst.defs:
* gst/gstquery.override:
Updated and properly wrapped new GstQuery formats API.
2006-02-17 15:35:34 +00:00
Andy Wingo
e8df8fe73c gst/gst.defs (disable_sync_message_emission)
Original commit message from CVS:
2006-02-10  Andy Wingo  <wingo@pobox.com>

* gst/gst.defs (disable_sync_message_emission)
(enable_sync_message_emission): Wrap new functions from GStreamer
CVS.

* configure.ac (GST_REQ): Require GStreamer 0.10.3.1.

* examples/play.py: A bit of refactoring. Make use of the
sync-message signals. Reacts to events on the bus. Keeps aspect
ratio. Better scrubbing, play/pause button instead of
play+pause+stop. Not a bad player now, although the code still
lacks cleanliness.
2006-02-10 17:49:47 +00:00
Edward Hervey
b36f73ee11 gst/gst.defs: Update for current GStreamer core API
Original commit message from CVS:
* gst/gst.defs:
Update for current GStreamer core API
2006-02-02 15:54:07 +00:00
Edward Hervey
0ce8abe73d gst/gst.defs: When using gst.Element.send_event() and gst.Pad.send_event() we keep a refcount on the sent event.
Original commit message from CVS:
* gst/gst.defs:
When using gst.Element.send_event() and gst.Pad.send_event() we keep
a refcount on the sent event.
* testsuite/test_event.py:
Uncomment test to prove above fix
2006-02-01 14:19:55 +00:00
Edward Hervey
938205e1da gst/base.defs: Revert guint8* to gchar* modifications for the adapter
Original commit message from CVS:
* gst/base.defs:
Revert guint8* to gchar* modifications for the adapter
* gst/gst.defs:
Cleanups and API additions
2006-01-09 11:42:25 +00:00
Edward Hervey
94688fea61 First step at wrapping base elements in gst-python
Original commit message from CVS:
First step at wrapping base elements in gst-python
* configure.ac:
Commenting out weird debugging statement dating from gst-python's
and which causes problems with gstbasesrc.h anonymous union.
* gst/Makefile.am:
Added base.defs
* gst/base.defs:
New base elements definition files
* gst/gst.defs:
* gst/gst.override:
Add base elements
2006-01-01 21:18:28 +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
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
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
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
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
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
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
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
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