Commit graph

26 commits

Author SHA1 Message Date
Edward Hervey
c68afb5f53 Backport from 0.8 branch and added new .defs file from GStreamer 0.9
Original commit message from CVS:
Backport from 0.8 branch and added new .defs file from GStreamer 0.9
2005-06-17 10:59:47 +00:00
Thomas Vander Stichele
dd901080d7 wrap gst_plugin_get_version so it returns a tuple
Original commit message from CVS:
wrap gst_plugin_get_version so it returns a tuple
2005-04-12 16:29:49 +00:00
Johan Dahlin
e6eb16b03b gst/gst.defs (element_factory_make): Caller owns return, fixes leak
Original commit message from CVS:
* gst/gst.defs (element_factory_make): Caller owns return, fixes leak
(get_caps): Ditto

* gst/gst.override (_wrap_gst_tag_list_get): Leak fix
(_wrap_gst_tag_list_subscript): Ditto

Reviewed by: Johan Dahlin <johan@gnome.org>
2005-03-15 13:20:08 +00:00
Thomas Vander Stichele
4fc152af94 probe functions
Original commit message from CVS:
probe functions
2005-01-12 10:15:18 +00:00
Martin Soto
ca5445fcbe gst/gst.override (_wrap_gst_event_new_any) (_wrap_gst_event_new_discontinuous) (_wrap_gst_event_any_get_structure)
Original commit message from CVS:
2004-11-27  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/gst.override (_wrap_gst_event_new_any)
(_wrap_gst_event_new_discontinuous)
(_wrap_gst_event_any_get_structure)
(_wrap_gst_registry_pool_plugin_list):
* gst/gst.defs (get_data, event_new_any, any_get_structure):
Added basic support for "ANY" (navigation) events.
Added basic support for discont events (only one value for now,
we are limited by the GStreamer API).
Now it is possible to access data in a GstBuffer as a string
Added a definition for method get_data of GstBuffer.

* gst/gst.override (_wrap_gst_structure_set_value): Add an
optional parameter to allow selection of the right G_TYPE. If no
type is specified, make an educated guess.
2004-11-27 09:41:17 +00:00
Zaheer Abbas Merali
2425cf1e64 2004-10-11 set REAL_NAME environment variable <set EMAIL_ADDRESS environment variable>
Original commit message from CVS:
2004-10-11  set REAL_NAME environment variable  <set EMAIL_ADDRESS environment variable>

* gst/gst.defs:
* gst/gst.override:
Fixes element_unlink_many and adds a set_buffer_data method to GstBuffer
Fixes bug #154451 and #154692
2004-10-11 09:45:40 +00:00
Johan Dahlin
1a232d7366 gst/:
Original commit message from CVS:
* gst/arg-types.py:
* gst/gst.defs:
* gst/gst.override:

GstXML support, based on patch by poelzi.
2004-10-11 09:24:15 +00:00
Johan Dahlin
02f72cd028 gst/gst.override (_wrap_gst_structure_ass_subscript): Some more fixes, doesn't quite work as it should yet though.x
Original commit message from CVS:
* gst/gst.override (_wrap_gst_structure_ass_subscript): Some more
fixes, doesn't quite work as it should yet though.x
(_wrap_gst_caps_tp_str): Plug leak

* gst/interfaces.defs (Mixer, MixerTrack): Add mixer fields here.

* testsuite/element.py (QueueTest.testConstruct): Some basic test,
one disabled for the moment
2004-08-30 10:42:36 +00:00
Thomas Vander Stichele
04d47f4be2 add constructor for caps
Original commit message from CVS:
add constructor for caps
2004-08-06 18:49:53 +00:00
Johan Dahlin
607bb26a14 gst/gst.override (_wrap_gst_structure_from_string): Impl.
Original commit message from CVS:
* gst/gst.override (_wrap_gst_structure_from_string): Impl.
(_wrap_gst_tag_list_has_key): Impl.
(_wrap_gst_caps_get_structure): Don't copy or free me

* testsuite/struct.py (StructureTest.testStructureChange): Enable
some tests.
Improve tests

* gst/gst.override (_wrap_gst_structure_ass_subscript): Impl
2004-08-06 18:14:30 +00:00
Thomas Vander Stichele
b18efd0d22 allow no name for thread and pipeline
Original commit message from CVS:
allow no name for thread and pipeline
2004-08-02 17:33:54 +00:00
Johan Dahlin
c0d4251e20 testsuite/interface.py (Availability.testXOverlay): Extend to test method calling on interfaces
Original commit message from CVS:
* testsuite/interface.py (Availability.testXOverlay): Extend to
test method calling on interfaces

* testsuite/common.py: call pygtk.require first

* gst/gstbin.override (_wrap_gst_bin_get_by_name): Add a
keyword argument recurse and remove
_wrap_gst_bin_get_by_name_recurse_up.

* gst/gst.override (_wrap_gst_element_get_pad_list): Split out bin
functions to ...

* gst/gstbin.override: .. this file

* gst/gst.defs (bin_new): allow NULL for first argument.
(child_state_change): Remove, it's private.
2004-05-24 10:30:05 +00:00
Johan Dahlin
ca3eb4296c gst/gst.defs (element_state_get_name): Add.
Original commit message from CVS:
* gst/gst.defs (element_state_get_name): Add.
2004-04-30 15:51:20 +00:00
Johan Dahlin
9e4049710c gst/gst.override (_wrap_gst_element_tp_new): New, just pointing to _wrap_gst_element_factory_make
Original commit message from CVS:
* gst/gst.override (_wrap_gst_element_tp_new): New, just pointing
to _wrap_gst_element_factory_make
(_wrap_gst_element_tp_new): Stub, return 1  so tp_new can be used.

* gst/gst.defs (element_factory_make): Remove is-constructor-of
GstElement.

* codegen/: Remove and use the codegen from pygtk instead

* configure.ac (ACLOCAL): Require 2.3.91 of PyGTK
2004-04-16 11:44:06 +00:00
Johan Dahlin
339261e4e2 gst/gst.defs: Remove unused functions.
Original commit message from CVS:
* gst/gst.defs: Remove unused functions.

* gst/gst.override: Ditto

* gst/__init__.py (devloc): delete dl
2004-03-17 12:27:20 +00:00
Johan Dahlin
7721fb4275 gst/gst.defs (element_make_from_uri): Remove const from enum here, should be fixed upstream too.
Original commit message from CVS:
* gst/gst.defs (element_make_from_uri): Remove const from enum
here, should be fixed upstream too.

* gst/gst.override (_wrap_gst_bin_remove_many)
(_wrap_gst_element_unlink_many): Impl.
(_wrap_gst_element_get_pad_list): Impl.
: Add a number of new ignores for functions/methods we won't wrap anyway
2004-03-16 17:57:18 +00:00
Johan Dahlin
6e85edcd38 Cleanup, add versioning
Original commit message from CVS:
Cleanup, add versioning
2004-03-08 13:51:02 +00:00
Johan Dahlin
a37dede09c examples/gstreamer/filesrc.py,player.py: New examples
Original commit message from CVS:
* examples/gstreamer/filesrc.py,player.py: New examples

* gstreamer/gstreamer.override: Add a dict like interface to GstTagList

* gstreamer/gstpad-handlers.override: New file, split out from gstreamer.override

* gstreamer/gst-types.defs: Don't use
gst_buffer_free/gst_data_free, use gst_data_unref instead.

* gstreamer/gst-types.c (PyGstData_to_value): Don't send address here.

* gstreamer/arg-types.py (GstDataPtrArg.write_param): Send the
address to stuff, since we really want to avoid segfaults :)

* gstreamer/0.6.[c,defs,h,override]: Remove, we're focusing on 0.7

* gstreamer/0.7.[c,defs,h,override]: Remove, merge with
gstreamer.*

* gstreamer/Makefile.am: Clean up, remove versioning support.
2004-02-27 18:01:52 +00:00
Johan Dahlin
b27c464e5e gstreamer/: Rename some more things to gst
Original commit message from CVS:
* gstreamer/gstreamer.override:
* gstreamer/gstreamermodule.c: Rename some more things to gst

* gstreamer/arg-types.py: Clean up and add GstData handling

* gstreamer/gstreamer.defs:
* gstreamer/gst-types.defs: Split out types to a separate defs

* gstreamer/gst-types.c: New file to handle custom GstData conversions.
2004-02-25 12:12:58 +00:00
Johan Dahlin
ad4e6fd770 gstreamer/gstreamer.defs: rename all functions, remove gst_ suffix.
Original commit message from CVS:
* gstreamer/gstreamer.defs: rename all functions, remove
gst_ suffix.
* gstreamer/examples/gstreamer/*.py: Update to new API.
2004-02-24 18:40:21 +00:00
Johan Dahlin
d178fff215 gstreamer/gstreamer.defs (element_link_many): This is function and not a method, despite popular belief
Original commit message from CVS:
* gstreamer/gstreamer.defs (element_link_many): This is function
and not a method, despite popular belief
(gst_element_factory_make): Make it the constructor of GstElement,
so we can avoid dirty hacks.

* gstreamer/gstreamer.override (_wrap_gst_element_link_many): Wrap
(_wrap_gst_element_link_many): Wrap

* gstreamer/common.defs:
* gstreamer/common.override:
* gstreamer/Makefile.am: Beginning of reorganization, to include
gstreamer.defs and override (eg, not auto generate them)

* examples/gstreamer/cp.py: Prettify and pythonify. Will do the
other examples later

* gstreamer/gstreamer.py: Backwards compatibility module

* gstreamer/gstreamermodule.c:
* gstreamer/Makefile.am: Rename the module to gst
2004-02-23 20:24:53 +00:00
David I. Lehn
18bba4b6ce create defs from h2defs.py output and local hacks
Original commit message from CVS:
create defs from h2defs.py output and local hacks
2002-05-10 03:59:33 +00:00
David I. Lehn
cb96d5a69f info categories function not picked up automagically for some reason.
Original commit message from CVS:
info categories function not picked up automagically for some reason.
add it.
2002-04-15 23:49:11 +00:00
David I. Lehn
5553eff125 Update to 0.3.4 API plus bonus feature: code no longer works
Original commit message from CVS:
Update to 0.3.4 API plus bonus feature: code no longer works
2002-04-15 17:14:31 +00:00
David I. Lehn
0d60c9d38a The "yes, you can write chain based elements in Python" commit.
Original commit message from CVS:
The "yes, you can write chain based elements in Python" commit.
AKA The "oh my, that is a slow rot13" commit.
AKA The "puddle from a stream of leaking bits" commit.
2002-03-27 11:09:40 +00:00
David I. Lehn
564e342e89 initial python bindings
Original commit message from CVS:
initial python bindings
2002-03-24 04:32:10 +00:00