2004-02-23 20:24:53 +00:00
|
|
|
;; -*- scheme -*-
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(include "gst-extrafuncs.defs")
|
2005-06-20 21:39:34 +00:00
|
|
|
(include "gst-types.defs")
|
2005-08-03 16:54:57 +00:00
|
|
|
(include "libs.defs")
|
2006-01-01 21:18:28 +00:00
|
|
|
(include "base.defs")
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gst.h
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function init
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_init")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("int*" "argc")
|
|
|
|
'("char**[]" "argv")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function init_check
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_init_check")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("int*" "argc")
|
|
|
|
'("char**[]" "argv")
|
2005-10-11 12:42:53 +00:00
|
|
|
'("GError**" "err")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function init_get_option_group
|
2005-10-11 12:42:53 +00:00
|
|
|
(c-name "gst_init_get_option_group")
|
|
|
|
(return-type "GOptionGroup*")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function deinit
|
2005-10-11 12:42:53 +00:00
|
|
|
(c-name "gst_deinit")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-10-19 15:04:25 +00:00
|
|
|
(define-function version
|
|
|
|
(c-name "gst_version")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint*" "major")
|
|
|
|
'("guint*" "minor")
|
|
|
|
'("guint*" "micro")
|
|
|
|
'("guint*" "nano")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function version_string
|
|
|
|
(c-name "gst_version_string")
|
|
|
|
(return-type "gchar*")
|
|
|
|
)
|
|
|
|
|
2006-07-18 15:33:41 +00:00
|
|
|
(define-function segtrap_is_enabled
|
|
|
|
(c-name "gst_segtrap_is_enabled")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function segtrap_set_enabled
|
|
|
|
(c-name "gst_segtrap_set_enabled")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "enabled")
|
|
|
|
)
|
|
|
|
)
|
2007-01-26 11:58:55 +00:00
|
|
|
|
|
|
|
(define-function registry_fork_is_enabled
|
|
|
|
(c-name "gst_registry_fork_is_enabled")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function registry_fork_set_enabled
|
|
|
|
(c-name "gst_registry_fork_set_enabled")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "enabled")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function update_registry
|
|
|
|
(c-name "gst_update_registry")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2006-04-05 11:55:48 +00:00
|
|
|
(define-function get_gst_version
|
|
|
|
(c-name "gst_get_gst_version")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function get_pygst_version
|
|
|
|
(c-name "gst_get_pygst_version")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstbin.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function bin_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_bin_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function bin_new
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_bin_new")
|
|
|
|
(is-constructor-of "GstBin")
|
|
|
|
(return-type "GstElement*")
|
2006-06-09 10:50:21 +00:00
|
|
|
(properties
|
|
|
|
'("name" (argname "name") (optional))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add
|
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_add")
|
2005-09-30 15:23:15 +00:00
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-09-30 15:23:15 +00:00
|
|
|
'("GstElement*" "element_1")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
2005-09-30 15:23:15 +00:00
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_many
|
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_add_many")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstElement*" "element_1")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove
|
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_remove")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-09-30 15:23:15 +00:00
|
|
|
'("GstElement*" "element_1")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
2005-09-30 15:23:15 +00:00
|
|
|
(varargs #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-09-30 15:23:15 +00:00
|
|
|
(define-method remove_many
|
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_remove_many")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstElement*" "element_1")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
2006-06-13 10:55:09 +00:00
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method get_by_name
|
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_get_by_name")
|
|
|
|
(return-type "GstElement*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_by_name_recurse_up
|
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_get_by_name_recurse_up")
|
|
|
|
(return-type "GstElement*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_by_interface
|
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_get_by_interface")
|
|
|
|
(return-type "GstElement*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2006-10-16 14:46:19 +00:00
|
|
|
'("GType" "iface_gtype")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-07 01:21:57 +00:00
|
|
|
(define-method elements
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstBin")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_bin_iterate_elements")
|
|
|
|
(return-type "GstIterator*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-10-07 01:21:57 +00:00
|
|
|
(define-method sorted
|
2005-09-28 10:58:50 +00:00
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_iterate_sorted")
|
|
|
|
(return-type "GstIterator*")
|
|
|
|
)
|
|
|
|
|
2005-10-07 01:21:57 +00:00
|
|
|
(define-method recurse
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstBin")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_bin_iterate_recurse")
|
|
|
|
(return-type "GstIterator*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-10-07 01:21:57 +00:00
|
|
|
(define-method sinks
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstBin")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_bin_iterate_sinks")
|
|
|
|
(return-type "GstIterator*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2006-02-02 15:54:07 +00:00
|
|
|
(define-method iterate_sources
|
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_iterate_sources")
|
|
|
|
(return-type "GstIterator*")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method iterate_all_by_interface
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstBin")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_bin_iterate_all_by_interface")
|
|
|
|
(return-type "GstIterator*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2006-10-16 14:46:19 +00:00
|
|
|
'("GType" "iface_gtype")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2008-12-30 19:20:31 +00:00
|
|
|
(define-method recalculate_latency
|
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_recalculate_latency")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual add_element
|
|
|
|
(of-object "GstBin")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstElement*" "element")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual remove_element
|
|
|
|
(of-object "GstBin")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstElement*" "element")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 19:13:57 +00:00
|
|
|
(define-virtual handle_message
|
|
|
|
(of-object "GstBin")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstMessage*" "message")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstbuffer.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function buffer_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_buffer_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function buffer_new
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_buffer_new")
|
|
|
|
(is-constructor-of "GstBuffer")
|
|
|
|
(return-type "GstBuffer*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function buffer_new_and_alloc
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_buffer_new_and_alloc")
|
|
|
|
(return-type "GstBuffer*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("guint" "size")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-function buffer_try_new_and_alloc
|
|
|
|
(c-name "gst_buffer_try_new_and_alloc")
|
|
|
|
(return-type "GstBuffer*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("guint" "size")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-02-02 15:54:07 +00:00
|
|
|
(define-method is_metadata_writable
|
|
|
|
(of-object "GstBuffer")
|
|
|
|
(c-name "gst_buffer_is_metadata_writable")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method make_metadata_writable
|
|
|
|
(of-object "GstBuffer")
|
|
|
|
(c-name "gst_buffer_make_metadata_writable")
|
|
|
|
(return-type "GstBuffer*")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_caps
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstBuffer")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_buffer_get_caps")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_caps
|
|
|
|
(of-object "GstBuffer")
|
|
|
|
(c-name "gst_buffer_set_caps")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstCaps*" "caps")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method create_sub
|
|
|
|
(of-object "GstBuffer")
|
|
|
|
(c-name "gst_buffer_create_sub")
|
|
|
|
(return-type "GstBuffer*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("guint" "offset")
|
|
|
|
'("guint" "size")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method is_span_fast
|
|
|
|
(of-object "GstBuffer")
|
|
|
|
(c-name "gst_buffer_is_span_fast")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstBuffer*" "buf2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method span
|
|
|
|
(of-object "GstBuffer")
|
|
|
|
(c-name "gst_buffer_span")
|
|
|
|
(return-type "GstBuffer*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("guint32" "offset")
|
|
|
|
'("GstBuffer*" "buf2")
|
|
|
|
'("guint32" "len")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
;; From gstbufferlist.h
|
|
|
|
|
|
|
|
(define-function gst_buffer_list_get_type
|
|
|
|
(c-name "gst_buffer_list_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function gst_buffer_list_new
|
|
|
|
(c-name "gst_buffer_list_new")
|
|
|
|
(is-constructor-of "GstBufferList")
|
|
|
|
(return-type "GstBufferList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method foreach
|
|
|
|
(of-object "GstBufferList")
|
|
|
|
(c-name "gst_buffer_list_foreach")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstBufferListFunc" "func")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get
|
|
|
|
(of-object "GstBufferList")
|
|
|
|
(c-name "gst_buffer_list_get")
|
|
|
|
(return-type "GstBuffer*")
|
|
|
|
(parameters
|
|
|
|
'("guint" "group")
|
|
|
|
'("guint" "idx")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method iterate
|
|
|
|
(of-object "GstBufferList")
|
|
|
|
(c-name "gst_buffer_list_iterate")
|
|
|
|
(return-type "GstBufferListIterator*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method free
|
|
|
|
(of-object "GstBufferListIterator")
|
|
|
|
(c-name "gst_buffer_list_iterator_free")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method n_buffers
|
|
|
|
(of-object "GstBufferListIterator")
|
|
|
|
(c-name "gst_buffer_list_iterator_n_buffers")
|
|
|
|
(return-type "guint")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method next
|
|
|
|
(of-object "GstBufferListIterator")
|
|
|
|
(c-name "gst_buffer_list_iterator_next")
|
|
|
|
(return-type "GstBuffer*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method next_group
|
|
|
|
(of-object "GstBufferListIterator")
|
|
|
|
(c-name "gst_buffer_list_iterator_next_group")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add
|
|
|
|
(of-object "GstBufferListIterator")
|
|
|
|
(c-name "gst_buffer_list_iterator_add")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstBuffer*" "buffer")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_group
|
|
|
|
(of-object "GstBufferListIterator")
|
|
|
|
(c-name "gst_buffer_list_iterator_add_group")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove
|
|
|
|
(of-object "GstBufferListIterator")
|
|
|
|
(c-name "gst_buffer_list_iterator_remove")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method steal
|
|
|
|
(of-object "GstBufferListIterator")
|
|
|
|
(c-name "gst_buffer_list_iterator_steal")
|
|
|
|
(return-type "GstBuffer*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method take
|
|
|
|
(of-object "GstBufferListIterator")
|
|
|
|
(c-name "gst_buffer_list_iterator_take")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstBuffer*" "buffer")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method do
|
|
|
|
(of-object "GstBufferListIterator")
|
|
|
|
(c-name "gst_buffer_list_iterator_do")
|
|
|
|
(return-type "GstBuffer*")
|
|
|
|
(parameters
|
|
|
|
'("GstBufferListDoFunction" "do_func")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method merge_group
|
|
|
|
(of-object "GstBufferListIterator")
|
|
|
|
(c-name "gst_buffer_list_iterator_merge_group")
|
|
|
|
(return-type "GstBuffer*")
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstbus.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function bus_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_bus_get_type")
|
|
|
|
(return-type "GType")
|
2004-11-27 09:41:17 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function bus_new
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_bus_new")
|
|
|
|
(is-constructor-of "GstBus")
|
|
|
|
(return-type "GstBus*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method post
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_post")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-11-15 15:35:44 +00:00
|
|
|
'("GstMessage*" "message" (keep-refcount))
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method have_pending
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_have_pending")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method peek
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_peek")
|
|
|
|
(return-type "GstMessage*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-10-11 09:45:40 +00:00
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method pop
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_pop")
|
|
|
|
(return-type "GstMessage*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2007-11-08 19:56:54 +00:00
|
|
|
(define-method pop_filtered
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_pop_filtered")
|
|
|
|
(return-type "GstMessage*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("GstMessageType" "types")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-method timed_pop
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_timed_pop")
|
|
|
|
(return-type "GstMessage*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "timeout")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-11-08 19:56:54 +00:00
|
|
|
(define-method timed_pop_filtered
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_timed_pop_filtered")
|
|
|
|
(return-type "GstMessage*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "timeout")
|
|
|
|
'("GstMessageType" "types")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_flushing
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_set_flushing")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "flushing")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_sync_handler
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_set_sync_handler")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstBusSyncHandler" "func")
|
|
|
|
'("gpointer" "data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method create_watch
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_create_watch")
|
|
|
|
(return-type "GSource*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_watch_full
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_add_watch_full")
|
|
|
|
(return-type "guint")
|
|
|
|
(parameters
|
|
|
|
'("gint" "priority")
|
2005-09-19 15:44:54 +00:00
|
|
|
'("GstBusFunc" "func")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("gpointer" "user_data")
|
|
|
|
'("GDestroyNotify" "notify")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_watch
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_add_watch")
|
|
|
|
(return-type "guint")
|
|
|
|
(parameters
|
2005-09-19 15:44:54 +00:00
|
|
|
'("GstBusFunc" "func")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method poll
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_poll")
|
2005-09-19 15:44:54 +00:00
|
|
|
(return-type "GstMessage*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstMessageType" "events")
|
|
|
|
'("GstClockTimeDiff" "timeout")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-09-29 09:58:25 +00:00
|
|
|
(define-method async_signal_func
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_async_signal_func")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstMessage*" "message")
|
|
|
|
'("gpointer" "data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method sync_signal_handler
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_sync_signal_handler")
|
|
|
|
(return-type "GstBusSyncReply")
|
|
|
|
(parameters
|
|
|
|
'("GstMessage*" "message")
|
|
|
|
'("gpointer" "data")
|
|
|
|
)
|
|
|
|
)
|
2005-06-17 10:59:47 +00:00
|
|
|
|
2005-09-29 13:56:03 +00:00
|
|
|
(define-method add_signal_watch
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_add_signal_watch")
|
2005-09-29 16:16:28 +00:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-method add_signal_watch_full
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_add_signal_watch_full")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint" "priority")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-29 16:16:28 +00:00
|
|
|
(define-method remove_signal_watch
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_remove_signal_watch")
|
|
|
|
(return-type "none")
|
2005-09-29 13:56:03 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
|
2006-02-10 17:49:47 +00:00
|
|
|
(define-method enable_sync_message_emission
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_enable_sync_message_emission")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method disable_sync_message_emission
|
|
|
|
(of-object "GstBus")
|
|
|
|
(c-name "gst_bus_disable_sync_message_emission")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstcaps.h
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function caps_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_caps_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function caps_new_empty
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(is-constructor-of "GstCaps")
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_caps_new_empty")
|
|
|
|
(return-type "GstCaps*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function caps_new_any
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_caps_new_any")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function caps_new_simple
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_caps_new_simple")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-char*" "media_type")
|
|
|
|
'("const-char*" "fieldname")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function caps_new_full
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_caps_new_full")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("GstStructure*" "struct1")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function caps_new_full_valist
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_caps_new_full_valist")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("GstStructure*" "structure")
|
|
|
|
'("va_list" "var_args")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method ref
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_ref")
|
|
|
|
(return-type "GstCaps*")
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method copy
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_copy")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method make_writable
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_make_writable")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method unref
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstCaps")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_caps_unref")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get
|
|
|
|
(of-object "GstStaticCaps")
|
|
|
|
(c-name "gst_static_caps_get")
|
2005-12-20 11:15:50 +00:00
|
|
|
(return-type "GstCaps*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method append
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_append")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstCaps*" "caps2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method append_structure
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_append_structure")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstStructure*" "structure")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_size
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_get_size")
|
2005-10-19 15:04:25 +00:00
|
|
|
(return-type "guint")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_structure
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_get_structure")
|
|
|
|
(return-type "GstStructure*")
|
|
|
|
(parameters
|
2005-10-19 15:04:25 +00:00
|
|
|
'("guint" "index")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method copy_nth
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstCaps")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_caps_copy_nth")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
2005-10-19 15:04:25 +00:00
|
|
|
'("guint" "nth")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-07-18 16:40:41 +00:00
|
|
|
(define-method truncate
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_truncate")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method set_simple
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_set_simple")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2008-07-02 11:23:39 +00:00
|
|
|
'("const-char*" "field")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_simple_valist
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_set_simple_valist")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2008-07-02 11:23:39 +00:00
|
|
|
'("const-char*" "field")
|
2004-02-23 20:24:53 +00:00
|
|
|
'("va_list" "varargs")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method is_any
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_is_any")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method is_empty
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_is_empty")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method is_fixed
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_is_fixed")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method is_always_compatible
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstCaps")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_caps_is_always_compatible")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-GstCaps*" "caps2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method is_subset
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstCaps")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_caps_is_subset")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-GstCaps*" "superset")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method is_equal
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstCaps")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_caps_is_equal")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-GstCaps*" "caps2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-09-16 14:23:27 +00:00
|
|
|
(define-method can_intersect
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_can_intersect")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-GstCaps*" "caps2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method intersect
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_intersect")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-GstCaps*" "caps2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method subtract
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_subtract")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("const-GstCaps*" "subtrahend")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method union
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_union")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-GstCaps*" "caps2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method normalize
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_normalize")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method do_simplify
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstCaps")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_caps_do_simplify")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method save_thyself
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_save_thyself")
|
|
|
|
(return-type "xmlNodePtr")
|
|
|
|
(parameters
|
|
|
|
'("xmlNodePtr" "parent")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-10-20 11:33:01 +00:00
|
|
|
(define-method merge
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_merge")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstCaps*" "caps2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method merge_structure
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_merge_structure")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstStructure*" "structure")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function caps_load_thyself
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_caps_load_thyself")
|
|
|
|
(return-type "GstCaps*")
|
|
|
|
(parameters
|
|
|
|
'("xmlNodePtr" "parent")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function caps_replace
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_caps_replace")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstCaps**" "caps")
|
|
|
|
'("GstCaps*" "newcaps")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method to_string
|
|
|
|
(of-object "GstCaps")
|
|
|
|
(c-name "gst_caps_to_string")
|
|
|
|
(return-type "gchar*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function caps_from_string
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_caps_from_string")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "string")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstclock.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function clock_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_clock_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_resolution
|
|
|
|
(of-object "GstClock")
|
|
|
|
(c-name "gst_clock_set_resolution")
|
2005-11-21 11:05:33 +00:00
|
|
|
(return-type "GstClockTime")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-11-21 11:05:33 +00:00
|
|
|
'("GstClockTime" "resolution")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_resolution
|
|
|
|
(of-object "GstClock")
|
|
|
|
(c-name "gst_clock_get_resolution")
|
2005-11-21 11:05:33 +00:00
|
|
|
(return-type "GstClockTime")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_time
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstClock")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_clock_get_time")
|
|
|
|
(return-type "GstClockTime")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-method set_calibration
|
|
|
|
(of-object "GstClock")
|
|
|
|
(c-name "gst_clock_set_calibration")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "internal")
|
|
|
|
'("GstClockTime" "external")
|
2005-11-23 14:43:26 +00:00
|
|
|
'("GstClockTime" "rate_num")
|
|
|
|
'("GstClockTime" "rate_denom")
|
2005-11-21 11:05:33 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_calibration
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstClock")
|
2005-11-21 11:05:33 +00:00
|
|
|
(c-name "gst_clock_get_calibration")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-11-21 11:05:33 +00:00
|
|
|
'("GstClockTime*" "internal")
|
|
|
|
'("GstClockTime*" "external")
|
2005-11-23 14:43:26 +00:00
|
|
|
'("GstClockTime*" "rate_num")
|
|
|
|
'("GstClockTime*" "rate_denom")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 18:48:19 +00:00
|
|
|
(define-method set_master
|
|
|
|
(of-object "GstClock")
|
|
|
|
(c-name "gst_clock_set_master")
|
2005-11-23 09:53:52 +00:00
|
|
|
(return-type "gboolean")
|
2005-11-21 18:48:19 +00:00
|
|
|
(parameters
|
|
|
|
'("GstClock*" "master")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_master
|
|
|
|
(of-object "GstClock")
|
|
|
|
(c-name "gst_clock_get_master")
|
|
|
|
(return-type "GstClock*")
|
|
|
|
)
|
|
|
|
|
2005-11-23 09:53:52 +00:00
|
|
|
(define-method add_observation
|
|
|
|
(of-object "GstClock")
|
|
|
|
(c-name "gst_clock_add_observation")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "slave")
|
|
|
|
'("GstClockTime" "master")
|
|
|
|
'("gdouble*" "r_squared")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-method get_internal_time
|
|
|
|
(of-object "GstClock")
|
|
|
|
(c-name "gst_clock_get_internal_time")
|
|
|
|
(return-type "GstClockTime")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method adjust_unlocked
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstClock")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_clock_adjust_unlocked")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GstClockTime")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "internal")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-method unadjust_unlocked
|
|
|
|
(of-object "GstClock")
|
|
|
|
(c-name "gst_clock_unadjust_unlocked")
|
|
|
|
(return-type "GstClockTime")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "external")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method new_single_shot_id
|
|
|
|
(of-object "GstClock")
|
|
|
|
(c-name "gst_clock_new_single_shot_id")
|
|
|
|
(return-type "GstClockID")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "time")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method new_periodic_id
|
|
|
|
(of-object "GstClock")
|
|
|
|
(c-name "gst_clock_new_periodic_id")
|
|
|
|
(return-type "GstClockID")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "start_time")
|
|
|
|
'("GstClockTime" "interval")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method ref
|
|
|
|
(of-object "GstClockID")
|
|
|
|
(c-name "gst_clock_id_ref")
|
|
|
|
(return-type "GstClockID")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method unref
|
|
|
|
(of-object "GstClockID")
|
|
|
|
(c-name "gst_clock_id_unref")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function clock_id_compare_func
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_clock_id_compare_func")
|
|
|
|
(return-type "gint")
|
|
|
|
(parameters
|
|
|
|
'("gconstpointer" "id1")
|
|
|
|
'("gconstpointer" "id2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method get_time
|
|
|
|
(of-object "GstClockID")
|
|
|
|
(c-name "gst_clock_id_get_time")
|
|
|
|
(return-type "GstClockTime")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method wait
|
|
|
|
(of-object "GstClockID")
|
|
|
|
(c-name "gst_clock_id_wait")
|
|
|
|
(return-type "GstClockReturn")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTimeDiff*" "jitter")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method wait_async
|
|
|
|
(of-object "GstClockID")
|
|
|
|
(c-name "gst_clock_id_wait_async")
|
|
|
|
(return-type "GstClockReturn")
|
|
|
|
(parameters
|
|
|
|
'("GstClockCallback" "func")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method unschedule
|
|
|
|
(of-object "GstClockID")
|
|
|
|
(c-name "gst_clock_id_unschedule")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual change_resolution
|
|
|
|
(of-object "GstClock")
|
2005-11-21 11:05:33 +00:00
|
|
|
(return-type "GstClockTime")
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(parameters
|
2005-11-21 11:05:33 +00:00
|
|
|
'("GstClockTime" "old_resolution")
|
|
|
|
'("GstClockTime" "new_resolution")
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual get_resolution
|
|
|
|
(of-object "GstClock")
|
2005-11-21 11:05:33 +00:00
|
|
|
(return-type "GstClockTime")
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
)
|
2005-06-17 10:59:47 +00:00
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual get_internal_time
|
|
|
|
(of-object "GstClock")
|
|
|
|
(return-type "GstClockTime")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual wait
|
|
|
|
(of-object "GstClock")
|
|
|
|
(return-type "GstClockReturn")
|
|
|
|
(parameters
|
|
|
|
'("GstClockEntry*" "entry")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2006-10-20 11:33:01 +00:00
|
|
|
(define-virtual wait_jitter
|
|
|
|
(of-object "GstClock")
|
|
|
|
(return-type "GstClockReturn")
|
|
|
|
(parameters
|
|
|
|
'("GstClockEntry*" "entry")
|
|
|
|
'("GstClockTimeDiff*" "jitter")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual wait_async
|
|
|
|
(of-object "GstClock")
|
|
|
|
(return-type "GstClockReturn")
|
|
|
|
(parameters
|
|
|
|
'("GstClockEntry*" "entry")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual unschedule
|
|
|
|
(of-object "GstClock")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstClockEntry" "entry")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2008-08-11 16:40:45 +00:00
|
|
|
;; From ../gstreamer/gst/gstdebugutils.h
|
|
|
|
|
|
|
|
(define-function DEBUG_BIN_TO_DOT_FILE
|
|
|
|
(c-name "GST_DEBUG_BIN_TO_DOT_FILE")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstBin*" "bin")
|
|
|
|
'("GstDebugGraphDetails" "details")
|
|
|
|
'("const-gchar*" "filename")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function DEBUG_BIN_TO_DOT_FILE_WITH_TS
|
|
|
|
(c-name "GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstBin*" "bin")
|
|
|
|
'("GstDebugGraphDetails" "details")
|
|
|
|
'("const-gchar*" "filename")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstelement.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method add_pad_template
|
|
|
|
(of-object "GstElementClass")
|
|
|
|
(c-name "gst_element_class_add_pad_template")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadTemplate*" "templ")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-08-16 16:47:45 +00:00
|
|
|
; 9 August 05 - changed to be a method on elements and not classes - wingo
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_pad_template
|
2005-08-16 16:47:45 +00:00
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_get_pad_template")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "GstPadTemplate*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "name")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-06-14 10:00:32 +00:00
|
|
|
; 14 Jun 06 - Changed to be a method on elements and not classes - bilboed
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_pad_template_list
|
2006-06-14 10:00:32 +00:00
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_get_pad_template_list")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "GList*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_details
|
|
|
|
(of-object "GstElementClass")
|
|
|
|
(c-name "gst_element_class_set_details")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-GstElementDetails*" "details")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-07-28 14:26:54 +00:00
|
|
|
(define-method set_details_simple
|
|
|
|
(of-object "GstElementClass")
|
|
|
|
(c-name "gst_element_class_set_details_simple")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2007-10-09 16:17:28 +00:00
|
|
|
'("const-gchar*" "longname")
|
|
|
|
'("const-gchar*" "classification")
|
|
|
|
'("const-gchar*" "description")
|
|
|
|
'("const-gchar*" "author")
|
2007-07-28 14:26:54 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function element_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method requires_clock
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_requires_clock")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method provides_clock
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_provides_clock")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-09-28 17:08:11 +00:00
|
|
|
(define-method provide_clock
|
2005-06-17 10:59:47 +00:00
|
|
|
(of-object "GstElement")
|
2005-09-28 17:08:11 +00:00
|
|
|
(c-name "gst_element_provide_clock")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "GstClock*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_clock
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_set_clock")
|
2005-11-23 09:53:52 +00:00
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstClock*" "clock")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-07-18 16:40:41 +00:00
|
|
|
(define-method set_base_time
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_set_base_time")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "time")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_base_time
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_get_base_time")
|
|
|
|
(return-type "GstClockTime")
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method set_start_time
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_set_start_time")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "time")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_start_time
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_get_start_time")
|
|
|
|
(return-type "GstClockTime")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method is_indexable
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_is_indexable")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_index
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_set_index")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstIndex*" "index")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_index
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_get_index")
|
|
|
|
(return-type "GstIndex*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_bus
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_set_bus")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstBus*" "bus")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_bus
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_get_bus")
|
|
|
|
(return-type "GstBus*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2006-01-01 21:18:28 +00:00
|
|
|
(define-method get_clock
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_get_clock")
|
|
|
|
(return-type "GstClock*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method add_pad
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_add_pad")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPad*" "pad")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method remove_pad
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_remove_pad")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPad*" "pad")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method no_more_pads
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_no_more_pads")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_pad
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_get_pad")
|
|
|
|
(return-type "GstPad*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "name")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_static_pad
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_get_static_pad")
|
|
|
|
(return-type "GstPad*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "name")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_request_pad
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_get_request_pad")
|
|
|
|
(return-type "GstPad*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method release_request_pad
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_release_request_pad")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstPad*" "pad")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-10-07 01:21:57 +00:00
|
|
|
(define-method pads
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_iterate_pads")
|
|
|
|
(return-type "GstIterator*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-10-07 01:21:57 +00:00
|
|
|
(define-method src_pads
|
2005-06-28 16:13:53 +00:00
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_iterate_src_pads")
|
|
|
|
(return-type "GstIterator*")
|
|
|
|
)
|
|
|
|
|
2005-10-07 01:21:57 +00:00
|
|
|
(define-method sink_pads
|
2005-06-28 16:13:53 +00:00
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_iterate_sink_pads")
|
|
|
|
(return-type "GstIterator*")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method send_event
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_send_event")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
2006-02-01 14:19:55 +00:00
|
|
|
'("GstEvent*" "event" (keep-refcount))
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method seek
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_seek")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-08-01 09:59:55 +00:00
|
|
|
'("gdouble" "rate")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("GstSeekFlags" "flags")
|
|
|
|
'("GstSeekType" "cur_type")
|
|
|
|
'("gint64" "cur")
|
|
|
|
'("GstSeekType" "stop_type")
|
|
|
|
'("gint64" "stop")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_query_types
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_get_query_types")
|
|
|
|
(return-type "const-GstQueryType*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method query
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_query")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstQuery*" "query")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method post_message
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_post_message")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2006-04-04 16:16:46 +00:00
|
|
|
'("GstMessage*" "message" (keep-refcount))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method message_full
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_message_full")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstMessageType" "type")
|
|
|
|
'("GQuark" "domain")
|
|
|
|
'("gint" "code")
|
|
|
|
'("gchar*" "text")
|
|
|
|
'("gchar*" "debug")
|
|
|
|
'("const-gchar*" "file")
|
|
|
|
'("const-gchar*" "function")
|
|
|
|
'("gint" "line")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method is_locked_state
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_is_locked_state")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_locked_state
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_set_locked_state")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("gboolean" "locked_state")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method sync_state_with_parent
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_sync_state_with_parent")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_state
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_get_state")
|
2005-09-02 16:21:45 +00:00
|
|
|
(return-type "GstStateChangeReturn")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
2005-09-02 16:21:45 +00:00
|
|
|
'("GstState*" "state")
|
|
|
|
'("GstState*" "pending")
|
2005-10-13 15:56:16 +00:00
|
|
|
'("GstClockTime" "timeout")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_state
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_set_state")
|
2005-09-02 16:21:45 +00:00
|
|
|
(return-type "GstStateChangeReturn")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-09-02 16:21:45 +00:00
|
|
|
'("GstState" "state")
|
2005-09-12 18:19:08 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method abort_state
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_abort_state")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-method change_state
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_change_state")
|
|
|
|
(return-type "GstStateChangeReturn")
|
|
|
|
(parameters
|
|
|
|
'("GstStateChange" "transition")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-method continue_state
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-11-21 11:05:33 +00:00
|
|
|
(c-name "gst_element_continue_state")
|
2005-10-11 12:42:53 +00:00
|
|
|
(return-type "GstStateChangeReturn")
|
2005-11-21 11:05:33 +00:00
|
|
|
(parameters
|
|
|
|
'("GstStateChangeReturn" "retstate")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method lost_state
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_lost_state")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method lost_state_full
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_lost_state_full")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "new_base_time")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_factory
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstElement")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_get_factory")
|
|
|
|
(return-type "GstElementFactory*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual send_event
|
|
|
|
(of-object "GstElement")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstEvent*" "event")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual get_query_types
|
|
|
|
(of-object "GstElement")
|
|
|
|
(return-type "const-GstQueryType*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual query
|
|
|
|
(of-object "GstElement")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstQuery*" "query")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual get_state
|
|
|
|
(of-object "GstElement")
|
2005-09-02 16:21:45 +00:00
|
|
|
(return-type "GstStateChangeReturn")
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(parameters
|
2005-09-02 16:21:45 +00:00
|
|
|
'("GstState*" "state")
|
|
|
|
'("GstState*" "pending")
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
'("GTimeVal*" "timeout")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual change_state
|
|
|
|
(of-object "GstElement")
|
2005-09-02 16:21:45 +00:00
|
|
|
(return-type "GstStateChangeReturn")
|
|
|
|
(parameters
|
|
|
|
'("GstStateChange" "transition")
|
|
|
|
)
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual request_new_pad
|
|
|
|
(of-object "GstElement")
|
|
|
|
(return-type "GstPad*")
|
|
|
|
(parameters
|
|
|
|
'("GstPadTemplate*" "templ")
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual release_pad
|
|
|
|
(of-object "GstElement")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstPad*" "pad")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-28 17:08:11 +00:00
|
|
|
(define-virtual provide_clock
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(of-object "GstElement")
|
|
|
|
(return-type "GstClock*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual set_clock
|
|
|
|
(of-object "GstElement")
|
2005-11-23 09:53:52 +00:00
|
|
|
(return-type "gboolean")
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(parameters
|
|
|
|
'("GstClock*" "clock")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual get_index
|
|
|
|
(of-object "GstElement")
|
|
|
|
(return-type "GstIndex*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual set_index
|
|
|
|
(of-object "GstElement")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstIndex*" "index")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual set_bus
|
|
|
|
(of-object "GstElement")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstBus*" "bus")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstelementfactory.h
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function element_factory_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_factory_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function element_factory_find
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_factory_find")
|
|
|
|
(return-type "GstElementFactory*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_element_type
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_get_element_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_longname
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_get_longname")
|
|
|
|
(return-type "const-gchar*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_klass
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_get_klass")
|
|
|
|
(return-type "const-gchar*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_description
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_get_description")
|
|
|
|
(return-type "const-gchar*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_author
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_get_author")
|
|
|
|
(return-type "const-gchar*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_num_pad_templates
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_get_num_pad_templates")
|
|
|
|
(return-type "guint")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_static_pad_templates
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_get_static_pad_templates")
|
|
|
|
(return-type "const-GList*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_uri_type
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_get_uri_type")
|
2007-07-27 11:21:31 +00:00
|
|
|
(return-type "GstURIType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_uri_protocols
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_get_uri_protocols")
|
2007-07-05 13:57:41 +00:00
|
|
|
(return-type "GStrv")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2007-07-28 14:26:54 +00:00
|
|
|
(define-method has_interface
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_has_interface")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "interfacename")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method create
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_create")
|
|
|
|
(return-type "GstElement*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-26 12:35:07 +00:00
|
|
|
'("const-gchar*" "name" (null-ok) (default "NULL"))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function element_factory_make
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_factory_make")
|
|
|
|
(return-type "GstElement*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "factoryname")
|
2005-06-26 12:35:07 +00:00
|
|
|
'("const-gchar*" "name" (null-ok) (default "NULL"))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function element_register
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_register")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPlugin*" "plugin")
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("guint" "rank")
|
|
|
|
'("GType" "type")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstenumtypes.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function object_flags_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_object_flags_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function bin_flags_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_bin_flags_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function buffer_flag_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_buffer_flag_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-function gst_buffer_copy_flags_get_type
|
|
|
|
(c-name "gst_buffer_copy_flags_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function bus_flags_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_bus_flags_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function bus_sync_reply_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_bus_sync_reply_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function clock_return_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_clock_return_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function clock_entry_type_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_clock_entry_type_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function clock_flags_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_clock_flags_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function element_flags_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_flags_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function core_error_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_core_error_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function library_error_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_library_error_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function resource_error_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_resource_error_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function stream_error_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_stream_error_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 15:38:03 +00:00
|
|
|
(define-function gst_event_type_flags_get_type
|
|
|
|
(c-name "gst_event_type_flags_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-09-01 21:46:11 +00:00
|
|
|
(define-function event_type_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_event_type_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function seek_type_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_seek_type_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function seek_flags_get_type
|
2005-08-01 09:59:55 +00:00
|
|
|
(c-name "gst_seek_flags_get_type")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function format_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_format_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function index_certainty_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_index_certainty_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function index_entry_type_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_index_entry_type_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function index_lookup_method_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_index_lookup_method_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function assoc_flags_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_assoc_flags_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function index_resolver_method_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_index_resolver_method_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function index_flags_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_index_flags_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function debug_level_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_debug_level_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function debug_color_flags_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_debug_color_flags_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function iterator_result_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_iterator_result_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function iterator_item_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_iterator_item_get_type")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function message_type_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_message_type_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function mini_object_flags_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_mini_object_flags_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pad_link_return_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_link_return_get_type")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function flow_return_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_flow_return_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function activate_mode_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_activate_mode_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pad_direction_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_direction_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pad_flags_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_flags_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pad_presence_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_presence_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pad_template_flags_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_template_flags_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pipeline_flags_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pipeline_flags_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function plugin_error_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_plugin_error_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function query_type_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_query_type_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function tag_merge_mode_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_merge_mode_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function tag_flag_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_flag_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function task_state_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_task_state_get_type")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function alloc_trace_flags_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_alloc_trace_flags_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function type_find_probability_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_type_find_probability_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function element_state_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_element_state_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function element_state_return_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_element_state_return_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function rank_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_rank_get_type")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function uri_type_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_uri_type_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function parse_error_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_parse_error_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gsterror.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function g_error_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_g_error_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function error_get_message
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_error_get_message")
|
|
|
|
(return-type "gchar*")
|
|
|
|
(parameters
|
|
|
|
'("GQuark" "domain")
|
|
|
|
'("gint" "code")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function stream_error_quark
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_stream_error_quark")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GQuark")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function core_error_quark
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_core_error_quark")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GQuark")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function resource_error_quark
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_resource_error_quark")
|
|
|
|
(return-type "GQuark")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function library_error_quark
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_library_error_quark")
|
|
|
|
(return-type "GQuark")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2007-10-18 08:44:43 +00:00
|
|
|
(define-function new
|
|
|
|
(c-name "g_error_new")
|
|
|
|
(is-constructor-of "GError")
|
|
|
|
(return-type "GError*")
|
|
|
|
(parameters
|
|
|
|
'("gchar*" "domain")
|
|
|
|
'("gint" "code")
|
|
|
|
'("gchar*" "message")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstevent.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-10-11 12:42:53 +00:00
|
|
|
(define-method get_name
|
|
|
|
(of-object "GstEventType")
|
|
|
|
(c-name "gst_event_type_get_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method to_quark
|
|
|
|
(of-object "GstEventType")
|
|
|
|
(c-name "gst_event_type_to_quark")
|
|
|
|
(return-type "GQuark")
|
|
|
|
)
|
|
|
|
|
2005-11-21 15:38:03 +00:00
|
|
|
(define-method get_flags
|
|
|
|
(of-object "GstEventType")
|
|
|
|
(c-name "gst_event_type_get_flags")
|
|
|
|
(return-type "GstEventTypeFlags")
|
|
|
|
)
|
|
|
|
|
2005-09-01 21:46:11 +00:00
|
|
|
(define-function event_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_event_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-09-01 21:46:11 +00:00
|
|
|
(define-function event_new_custom
|
2005-08-01 09:59:55 +00:00
|
|
|
(c-name "gst_event_new_custom")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GstEvent*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("GstEventType" "type")
|
2005-08-01 09:59:55 +00:00
|
|
|
'("GstStructure*" "structure")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-08-01 09:59:55 +00:00
|
|
|
(define-method get_structure
|
|
|
|
(of-object "GstEvent")
|
|
|
|
(c-name "gst_event_get_structure")
|
|
|
|
(return-type "const-GstStructure*")
|
|
|
|
)
|
|
|
|
|
2008-07-02 11:23:39 +00:00
|
|
|
(define-method has_name
|
|
|
|
(of-object "GstEvent")
|
|
|
|
(c-name "gst_event_has_name")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2008-12-30 19:20:31 +00:00
|
|
|
(define-method get_seqnum
|
|
|
|
(of-object "GstEvent")
|
|
|
|
(c-name "gst_event_get_seqnum")
|
|
|
|
(return-type "guint32")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_seqnum
|
|
|
|
(of-object "GstEvent")
|
|
|
|
(c-name "gst_event_set_seqnum")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint32" "seqnum")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-01 21:46:11 +00:00
|
|
|
(define-function event_new_flush_start
|
2005-08-01 09:59:55 +00:00
|
|
|
(c-name "gst_event_new_flush_start")
|
|
|
|
(return-type "GstEvent*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-08-01 09:59:55 +00:00
|
|
|
)
|
|
|
|
|
2005-09-01 21:46:11 +00:00
|
|
|
(define-function event_new_flush_stop
|
2005-08-01 09:59:55 +00:00
|
|
|
(c-name "gst_event_new_flush_stop")
|
|
|
|
(return-type "GstEvent*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-08-01 09:59:55 +00:00
|
|
|
)
|
|
|
|
|
2005-09-01 21:46:11 +00:00
|
|
|
(define-function event_new_eos
|
2005-08-01 09:59:55 +00:00
|
|
|
(c-name "gst_event_new_eos")
|
|
|
|
(return-type "GstEvent*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-08-01 09:59:55 +00:00
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-function event_new_new_segment
|
2005-11-22 12:02:41 +00:00
|
|
|
(c-name "gst_event_new_new_segment")
|
2005-08-01 09:59:55 +00:00
|
|
|
(return-type "GstEvent*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-10-12 01:53:56 +00:00
|
|
|
'("gboolean" "update")
|
2005-08-01 09:59:55 +00:00
|
|
|
'("gdouble" "rate")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "start_value")
|
|
|
|
'("gint64" "stop_value")
|
2005-10-13 15:56:16 +00:00
|
|
|
'("gint64" "stream_time")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-05-09 14:24:02 +00:00
|
|
|
(define-function event_new_new_segment_full
|
|
|
|
(c-name "gst_event_new_new_segment_full")
|
|
|
|
(return-type "GstEvent*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "update")
|
|
|
|
'("gdouble" "rate")
|
|
|
|
'("gdouble" "applied_rate")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "start")
|
|
|
|
'("gint64" "stop")
|
|
|
|
'("gint64" "position")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-method parse_new_segment
|
2005-08-01 09:59:55 +00:00
|
|
|
(of-object "GstEvent")
|
2005-11-22 12:02:41 +00:00
|
|
|
(c-name "gst_event_parse_new_segment")
|
2005-08-01 09:59:55 +00:00
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-10-13 15:56:16 +00:00
|
|
|
'("gboolean*" "update")
|
2005-08-01 09:59:55 +00:00
|
|
|
'("gdouble*" "rate")
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "start_value")
|
|
|
|
'("gint64*" "end_value")
|
2005-10-13 15:56:16 +00:00
|
|
|
'("gint64*" "stream_time")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-01 21:46:11 +00:00
|
|
|
(define-function event_new_tag
|
2005-08-01 09:59:55 +00:00
|
|
|
(c-name "gst_event_new_tag")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GstEvent*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-08-01 09:59:55 +00:00
|
|
|
'("GstTagList*" "taglist")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-05-09 14:24:02 +00:00
|
|
|
(define-method parse_new_segment_full
|
|
|
|
(of-object "GstEvent")
|
|
|
|
(c-name "gst_event_parse_new_segment_full")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean*" "update")
|
|
|
|
'("gdouble*" "rate")
|
|
|
|
'("gdouble*" "applied_rate")
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "start")
|
|
|
|
'("gint64*" "stop")
|
|
|
|
'("gint64*" "position")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-08-01 09:59:55 +00:00
|
|
|
(define-method parse_tag
|
|
|
|
(of-object "GstEvent")
|
|
|
|
(c-name "gst_event_parse_tag")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-08-01 09:59:55 +00:00
|
|
|
'("GstTagList**" "taglist")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-function event_new_buffer_size
|
2005-11-22 12:02:41 +00:00
|
|
|
(c-name "gst_event_new_buffer_size")
|
2005-10-11 12:42:53 +00:00
|
|
|
(return-type "GstEvent*")
|
2005-10-27 14:46:59 +00:00
|
|
|
(caller-owns-return #t)
|
2005-10-11 12:42:53 +00:00
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "minsize")
|
|
|
|
'("gint64" "maxsize")
|
|
|
|
'("gboolean" "async")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-method parse_buffer_size
|
2005-10-11 12:42:53 +00:00
|
|
|
(of-object "GstEvent")
|
2005-11-22 12:02:41 +00:00
|
|
|
(c-name "gst_event_parse_buffer_size")
|
2005-10-11 12:42:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "minsize")
|
|
|
|
'("gint64*" "maxsize")
|
|
|
|
'("gboolean*" "async")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-01 21:46:11 +00:00
|
|
|
(define-function event_new_qos
|
2005-08-01 09:59:55 +00:00
|
|
|
(c-name "gst_event_new_qos")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GstEvent*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-08-01 09:59:55 +00:00
|
|
|
'("gdouble" "proportion")
|
|
|
|
'("GstClockTimeDiff" "diff")
|
|
|
|
'("GstClockTime" "timestamp")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_qos
|
|
|
|
(of-object "GstEvent")
|
|
|
|
(c-name "gst_event_parse_qos")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gdouble*" "proportion")
|
|
|
|
'("GstClockTimeDiff*" "diff")
|
|
|
|
'("GstClockTime*" "timestamp")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-01 21:46:11 +00:00
|
|
|
(define-function event_new_seek
|
2005-08-01 09:59:55 +00:00
|
|
|
(c-name "gst_event_new_seek")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GstEvent*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("gdouble" "rate")
|
2005-08-01 09:59:55 +00:00
|
|
|
'("GstFormat" "format")
|
|
|
|
'("GstSeekFlags" "flags")
|
2006-10-20 10:41:46 +00:00
|
|
|
'("GstSeekType" "start_type")
|
|
|
|
'("gint64" "start")
|
2005-08-01 09:59:55 +00:00
|
|
|
'("GstSeekType" "stop_type")
|
|
|
|
'("gint64" "stop")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-08-01 09:59:55 +00:00
|
|
|
(define-method parse_seek
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstEvent")
|
2005-08-01 09:59:55 +00:00
|
|
|
(c-name "gst_event_parse_seek")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-08-01 09:59:55 +00:00
|
|
|
'("gdouble*" "rate")
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("GstSeekFlags*" "flags")
|
2006-10-20 10:41:46 +00:00
|
|
|
'("GstSeekType*" "start_type")
|
|
|
|
'("gint64*" "start")
|
2005-08-01 09:59:55 +00:00
|
|
|
'("GstSeekType*" "stop_type")
|
|
|
|
'("gint64*" "stop")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-01 21:46:11 +00:00
|
|
|
(define-function event_new_navigation
|
2005-08-01 09:59:55 +00:00
|
|
|
(c-name "gst_event_new_navigation")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "GstEvent*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
2005-08-01 09:59:55 +00:00
|
|
|
'("GstStructure*" "structure")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
2004-11-27 09:41:17 +00:00
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-function event_new_latency
|
|
|
|
(c-name "gst_event_new_latency")
|
|
|
|
(return-type "GstEvent*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "latency")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_latency
|
|
|
|
(of-object "GstEvent")
|
|
|
|
(c-name "gst_event_parse_latency")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime*" "latency")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-function event_new_step
|
|
|
|
(c-name "gst_event_new_step")
|
|
|
|
(return-type "GstEvent*")
|
2009-07-01 11:53:54 +00:00
|
|
|
(caller-owns-return #t)
|
2009-07-01 08:58:42 +00:00
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("guint64" "amount")
|
|
|
|
'("gdouble" "rate")
|
|
|
|
'("gboolean" "flush")
|
|
|
|
'("gboolean" "intermediate")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_step
|
|
|
|
(of-object "GstEvent")
|
|
|
|
(c-name "gst_event_parse_step")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("guint64*" "amount")
|
|
|
|
'("gdouble*" "rate")
|
|
|
|
'("gboolean*" "flush")
|
|
|
|
'("gboolean*" "intermediate")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstfilter.h
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function filter_run
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_filter_run")
|
|
|
|
(return-type "GList*")
|
|
|
|
(parameters
|
|
|
|
'("const-GList*" "list")
|
|
|
|
'("GstFilterFunc" "func")
|
|
|
|
'("gboolean" "first")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstformat.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-method get_name
|
|
|
|
(of-object "GstFormat")
|
|
|
|
(c-name "gst_format_get_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method to_quark
|
|
|
|
(of-object "GstFormat")
|
|
|
|
(c-name "gst_format_to_quark")
|
|
|
|
(return-type "GQuark")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function format_register
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_format_register")
|
|
|
|
(return-type "GstFormat")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "nick")
|
|
|
|
'("const-gchar*" "description")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function format_get_by_nick
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_format_get_by_nick")
|
|
|
|
(return-type "GstFormat")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "nick")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method s_contains
|
|
|
|
(of-object "GstFormat")
|
|
|
|
(c-name "gst_formats_contains")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_details
|
|
|
|
(of-object "GstFormat")
|
|
|
|
(c-name "gst_format_get_details")
|
|
|
|
(return-type "const-GstFormatDefinition*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function format_iterate_definitions
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_format_iterate_definitions")
|
|
|
|
(return-type "GstIterator*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstghostpad.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function ghost_pad_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_ghost_pad_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function ghost_pad_new
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_ghost_pad_new")
|
|
|
|
(is-constructor-of "GstGhostPad")
|
|
|
|
(return-type "GstPad*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("GstPad*" "target")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-08 13:34:29 +00:00
|
|
|
(define-function ghost_pad_new_notarget
|
2005-11-22 12:02:41 +00:00
|
|
|
(c-name "gst_ghost_pad_new_no_target")
|
2005-08-01 09:59:55 +00:00
|
|
|
(return-type "GstPad*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-08-01 09:59:55 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("GstPadDirection" "dir")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-08-31 14:03:44 +00:00
|
|
|
(define-function ghost_pad_new_from_template
|
|
|
|
(c-name "gst_ghost_pad_new_from_template")
|
|
|
|
(return-type "GstPad*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("GstPad*" "target")
|
|
|
|
'("GstPadTemplate*" "templ")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function ghost_pad_new_no_target_from_template
|
|
|
|
(c-name "gst_ghost_pad_new_no_target_from_template")
|
|
|
|
(return-type "GstPad*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("GstPadTemplate*" "templ")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-08-01 09:59:55 +00:00
|
|
|
(define-method get_target
|
|
|
|
(of-object "GstGhostPad")
|
|
|
|
(c-name "gst_ghost_pad_get_target")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-08-01 09:59:55 +00:00
|
|
|
(return-type "GstPad*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_target
|
|
|
|
(of-object "GstGhostPad")
|
|
|
|
(c-name "gst_ghost_pad_set_target")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstPad*" "newtarget")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
;; From ../gstreamer/gst/gstindex.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function index_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_index_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function index_new
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_index_new")
|
|
|
|
(is-constructor-of "GstIndex")
|
|
|
|
(return-type "GstIndex*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method commit
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_commit")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("gint" "id")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_group
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_get_group")
|
|
|
|
(return-type "gint")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method new_group
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_new_group")
|
|
|
|
(return-type "gint")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_group
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_set_group")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gint" "groupnum")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_certainty
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_set_certainty")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstIndexCertainty" "certainty")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_certainty
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_get_certainty")
|
|
|
|
(return-type "GstIndexCertainty")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_filter
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_set_filter")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstIndexFilter" "filter")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-method set_filter_full
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_set_filter_full")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstIndexFilter" "filter")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
'("GDestroyNotify" "user_data_destroy")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method set_resolver
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_set_resolver")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstIndexResolver" "resolver")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2008-07-02 11:23:39 +00:00
|
|
|
(define-method set_resolver_full
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_set_resolver_full")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstIndexResolver" "resolver")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
'("GDestroyNotify" "user_data_destroy")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method get_writer_id
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_get_writer_id")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstObject*" "writer")
|
|
|
|
'("gint*" "id")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_format
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_add_format")
|
|
|
|
(return-type "GstIndexEntry*")
|
|
|
|
(parameters
|
|
|
|
'("gint" "id")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-02-02 15:54:07 +00:00
|
|
|
(define-method add_associationv
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_add_associationv")
|
|
|
|
(return-type "GstIndexEntry*")
|
|
|
|
(parameters
|
|
|
|
'("gint" "id")
|
|
|
|
'("GstAssocFlags" "flags")
|
|
|
|
'("gint" "n")
|
|
|
|
'("const-GstIndexAssociation*" "list")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method add_association
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_add_association")
|
|
|
|
(return-type "GstIndexEntry*")
|
|
|
|
(parameters
|
|
|
|
'("gint" "id")
|
|
|
|
'("GstAssocFlags" "flags")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "value")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_object
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_add_object")
|
|
|
|
(return-type "GstIndexEntry*")
|
|
|
|
(parameters
|
|
|
|
'("gint" "id")
|
|
|
|
'("gchar*" "key")
|
|
|
|
'("GType" "type")
|
|
|
|
'("gpointer" "object")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_id
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_add_id")
|
|
|
|
(return-type "GstIndexEntry*")
|
|
|
|
(parameters
|
|
|
|
'("gint" "id")
|
|
|
|
'("gchar*" "description")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_assoc_entry
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_get_assoc_entry")
|
|
|
|
(return-type "GstIndexEntry*")
|
|
|
|
(parameters
|
|
|
|
'("gint" "id")
|
|
|
|
'("GstIndexLookupMethod" "method")
|
|
|
|
'("GstAssocFlags" "flags")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_assoc_entry_full
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(c-name "gst_index_get_assoc_entry_full")
|
|
|
|
(return-type "GstIndexEntry*")
|
|
|
|
(parameters
|
|
|
|
'("gint" "id")
|
|
|
|
'("GstIndexLookupMethod" "method")
|
|
|
|
'("GstAssocFlags" "flags")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "value")
|
|
|
|
'("GCompareDataFunc" "func")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual add_entry
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstIndexEntry*" "entry")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual get_assoc_entry
|
|
|
|
(of-object "GstIndex")
|
|
|
|
(return-type "GstIndexEntry*")
|
|
|
|
(parameters
|
|
|
|
'("gint" "id")
|
|
|
|
'("GstIndexLookupMethod" "method")
|
|
|
|
'("GstAssocFlags" "flags")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "value")
|
|
|
|
'("GCompareDataFunc" "func")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function index_entry_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_index_entry_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method copy
|
|
|
|
(of-object "GstIndexEntry")
|
|
|
|
(c-name "gst_index_entry_copy")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GstIndexEntry*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method free
|
|
|
|
(of-object "GstIndexEntry")
|
|
|
|
(c-name "gst_index_entry_free")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method assoc_map
|
|
|
|
(of-object "GstIndexEntry")
|
|
|
|
(c-name "gst_index_entry_assoc_map")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-01-02 21:46:30 +00:00
|
|
|
(define-method ASSOC_FORMAT
|
|
|
|
(of-object "GstIndexEntry")
|
|
|
|
(c-name "GST_INDEX_ASSOC_FORMAT")
|
|
|
|
(return-type "GstFormat")
|
|
|
|
(parameters
|
|
|
|
'("guint" "i")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method ASSOC_VALUE
|
|
|
|
(of-object "GstIndexEntry")
|
|
|
|
(c-name "GST_INDEX_ASSOC_VALUE")
|
|
|
|
(return-type "gint64")
|
|
|
|
(parameters
|
|
|
|
'("guint" "i")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function index_factory_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_index_factory_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function index_factory_new
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_index_factory_new")
|
|
|
|
(is-constructor-of "GstIndexFactory")
|
|
|
|
(return-type "GstIndexFactory*")
|
2006-06-09 10:50:21 +00:00
|
|
|
(properties
|
|
|
|
'("name" (argname "name"))
|
|
|
|
'("longdesc" (argname "longdesc"))
|
|
|
|
'("type" (argname "type"))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method destroy
|
|
|
|
(of-object "GstIndexFactory")
|
|
|
|
(c-name "gst_index_factory_destroy")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function index_factory_find
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_index_factory_find")
|
|
|
|
(return-type "GstIndexFactory*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method create
|
|
|
|
(of-object "GstIndexFactory")
|
|
|
|
(c-name "gst_index_factory_create")
|
|
|
|
(return-type "GstIndex*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function index_factory_make
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_index_factory_make")
|
|
|
|
(return-type "GstIndex*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstinfo.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_log
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_log")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstDebugCategory*" "category")
|
|
|
|
'("GstDebugLevel" "level")
|
|
|
|
'("const-gchar*" "file")
|
|
|
|
'("const-gchar*" "function")
|
|
|
|
'("gint" "line")
|
|
|
|
'("GObject*" "object")
|
|
|
|
'("const-gchar*" "format")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_log_valist
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_log_valist")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstDebugCategory*" "category")
|
|
|
|
'("GstDebugLevel" "level")
|
|
|
|
'("const-gchar*" "file")
|
|
|
|
'("const-gchar*" "function")
|
|
|
|
'("gint" "line")
|
|
|
|
'("GObject*" "object")
|
|
|
|
'("const-gchar*" "format")
|
|
|
|
'("va_list" "args")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get
|
|
|
|
(of-object "GstDebugMessage")
|
|
|
|
(c-name "gst_debug_message_get")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_log_default
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_log_default")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstDebugCategory*" "category")
|
|
|
|
'("GstDebugLevel" "level")
|
|
|
|
'("const-gchar*" "file")
|
|
|
|
'("const-gchar*" "function")
|
|
|
|
'("gint" "line")
|
|
|
|
'("GObject*" "object")
|
|
|
|
'("GstDebugMessage*" "message")
|
|
|
|
'("gpointer" "unused")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_name
|
|
|
|
(of-object "GstDebugLevel")
|
|
|
|
(c-name "gst_debug_level_get_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_add_log_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_add_log_function")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstLogFunction" "func")
|
|
|
|
'("gpointer" "data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_remove_log_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_remove_log_function")
|
|
|
|
(return-type "guint")
|
|
|
|
(parameters
|
|
|
|
'("GstLogFunction" "func")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_remove_log_function_by_data
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_remove_log_function_by_data")
|
|
|
|
(return-type "guint")
|
|
|
|
(parameters
|
|
|
|
'("gpointer" "data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_set_active
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_set_active")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "active")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_is_active
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_is_active")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_set_colored
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_set_colored")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "colored")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_is_colored
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_is_colored")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_set_default_threshold
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_set_default_threshold")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstDebugLevel" "level")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_get_default_threshold
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_get_default_threshold")
|
|
|
|
(return-type "GstDebugLevel")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_set_threshold_for_name
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_set_threshold_for_name")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("GstDebugLevel" "level")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_unset_threshold_for_name
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_unset_threshold_for_name")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method free
|
|
|
|
(of-object "GstDebugCategory")
|
|
|
|
(c-name "gst_debug_category_free")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_threshold
|
|
|
|
(of-object "GstDebugCategory")
|
|
|
|
(c-name "gst_debug_category_set_threshold")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstDebugLevel" "level")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method reset_threshold
|
|
|
|
(of-object "GstDebugCategory")
|
|
|
|
(c-name "gst_debug_category_reset_threshold")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_threshold
|
|
|
|
(of-object "GstDebugCategory")
|
|
|
|
(c-name "gst_debug_category_get_threshold")
|
|
|
|
(return-type "GstDebugLevel")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_name
|
|
|
|
(of-object "GstDebugCategory")
|
|
|
|
(c-name "gst_debug_category_get_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_color
|
|
|
|
(of-object "GstDebugCategory")
|
|
|
|
(c-name "gst_debug_category_get_color")
|
|
|
|
(return-type "guint")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_description
|
|
|
|
(of-object "GstDebugCategory")
|
|
|
|
(c-name "gst_debug_category_get_description")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_get_all_categories
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_get_all_categories")
|
|
|
|
(return-type "GSList*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_construct_term_color
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_debug_construct_term_color")
|
|
|
|
(return-type "gchar*")
|
|
|
|
(parameters
|
|
|
|
'("guint" "colorinfo")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-04-17 16:51:40 +00:00
|
|
|
(define-function debug_construct_win_color
|
|
|
|
(c-name "gst_debug_construct_win_color")
|
|
|
|
(return-type "gint")
|
|
|
|
(parameters
|
|
|
|
'("guint" "colorinfo")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_remove_log_function
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_debug_remove_log_function")
|
|
|
|
(return-type "guint")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstLogFunction" "func")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function debug_remove_log_function_by_data
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_debug_remove_log_function_by_data")
|
|
|
|
(return-type "guint")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("gpointer" "data")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstinterface.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function implements_interface_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_implements_interface_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method implements_interface
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_implements_interface")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GType" "iface_type")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function implements_interface_cast
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_implements_interface_cast")
|
|
|
|
(return-type "gpointer")
|
|
|
|
(parameters
|
|
|
|
'("gpointer" "from")
|
|
|
|
'("GType" "type")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function implements_interface_check
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_implements_interface_check")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gpointer" "from")
|
|
|
|
'("GType" "type")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-04-28 15:07:41 +00:00
|
|
|
(define-virtual supported
|
|
|
|
(of-object "GstImplementsInterface")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GType" "iface_type")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstiterator.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function iterator_new
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_iterator_new")
|
|
|
|
(is-constructor-of "GstIterator")
|
|
|
|
(return-type "GstIterator*")
|
|
|
|
(parameters
|
|
|
|
'("guint" "size")
|
2005-10-11 12:42:53 +00:00
|
|
|
'("GType" "type")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GMutex*" "lock")
|
|
|
|
'("guint32*" "master_cookie")
|
|
|
|
'("GstIteratorNextFunction" "next")
|
|
|
|
'("GstIteratorItemFunction" "item")
|
|
|
|
'("GstIteratorResyncFunction" "resync")
|
|
|
|
'("GstIteratorFreeFunction" "free")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function iterator_new_list
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_iterator_new_list")
|
|
|
|
(return-type "GstIterator*")
|
|
|
|
(parameters
|
2005-10-11 12:42:53 +00:00
|
|
|
'("GType" "type")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GMutex*" "lock")
|
|
|
|
'("guint32*" "master_cookie")
|
|
|
|
'("GList**" "list")
|
|
|
|
'("gpointer" "owner")
|
|
|
|
'("GstIteratorItemFunction" "item")
|
|
|
|
'("GstIteratorDisposeFunction" "free")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method next
|
|
|
|
(of-object "GstIterator")
|
|
|
|
(c-name "gst_iterator_next")
|
|
|
|
(return-type "GstIteratorResult")
|
|
|
|
(parameters
|
|
|
|
'("gpointer*" "result")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method resync
|
|
|
|
(of-object "GstIterator")
|
|
|
|
(c-name "gst_iterator_resync")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method free
|
|
|
|
(of-object "GstIterator")
|
|
|
|
(c-name "gst_iterator_free")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method push
|
|
|
|
(of-object "GstIterator")
|
|
|
|
(c-name "gst_iterator_push")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstIterator*" "other")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method filter
|
|
|
|
(of-object "GstIterator")
|
|
|
|
(c-name "gst_iterator_filter")
|
|
|
|
(return-type "GstIterator*")
|
|
|
|
(parameters
|
|
|
|
'("GCompareFunc" "func")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method fold
|
|
|
|
(of-object "GstIterator")
|
|
|
|
(c-name "gst_iterator_fold")
|
|
|
|
(return-type "GstIteratorResult")
|
|
|
|
(parameters
|
|
|
|
'("GstIteratorFoldFunction" "func")
|
|
|
|
'("GValue*" "ret")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method foreach
|
|
|
|
(of-object "GstIterator")
|
|
|
|
(c-name "gst_iterator_foreach")
|
|
|
|
(return-type "GstIteratorResult")
|
|
|
|
(parameters
|
|
|
|
'("GFunc" "func")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method find_custom
|
|
|
|
(of-object "GstIterator")
|
|
|
|
(c-name "gst_iterator_find_custom")
|
|
|
|
(return-type "gpointer")
|
|
|
|
(parameters
|
|
|
|
'("GCompareFunc" "func")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstmessage.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function message_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_message_get_type")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-09-29 09:58:25 +00:00
|
|
|
(define-method get_name
|
|
|
|
(of-object "GstMessageType")
|
|
|
|
(c-name "gst_message_type_get_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method to_quark
|
|
|
|
(of-object "GstMessageType")
|
|
|
|
(c-name "gst_message_type_to_quark")
|
|
|
|
(return-type "GQuark")
|
|
|
|
)
|
|
|
|
|
2008-12-30 19:20:31 +00:00
|
|
|
(define-method set_seqnum
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_set_seqnum")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint32" "seqnum")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function message_new_eos
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_message_new_eos")
|
|
|
|
(return-type "GstMessage*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstObject*" "src")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function message_new_error
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_message_new_error")
|
|
|
|
(return-type "GstMessage*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GError*" "error")
|
|
|
|
'("gchar*" "debug")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function message_new_warning
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_message_new_warning")
|
|
|
|
(return-type "GstMessage*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GError*" "error")
|
|
|
|
'("gchar*" "debug")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-function message_new_info
|
|
|
|
(c-name "gst_message_new_info")
|
|
|
|
(return-type "GstMessage*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GError*" "error")
|
|
|
|
'("gchar*" "debug")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function message_new_tag
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_message_new_tag")
|
|
|
|
(return-type "GstMessage*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstObject*" "src")
|
2008-12-06 15:41:41 +00:00
|
|
|
'("GstTagList*" "tag_list" (keep-refcount))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-function message_new_buffering
|
2006-10-20 10:41:46 +00:00
|
|
|
(c-name "gst_message_new_buffering")
|
|
|
|
(return-type "GstMessage*")
|
2009-07-01 11:53:54 +00:00
|
|
|
(caller-owns-return #t)
|
2006-10-20 10:41:46 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("gint" "percent")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function message_new_state_changed
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_message_new_state_changed")
|
|
|
|
(return-type "GstMessage*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstObject*" "src")
|
2005-09-02 16:21:45 +00:00
|
|
|
'("GstState" "old_state")
|
|
|
|
'("GstState" "new_state")
|
2005-10-09 13:55:59 +00:00
|
|
|
'("GstState" "pending_state")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function message_new_state_dirty
|
2005-10-19 15:04:25 +00:00
|
|
|
(c-name "gst_message_new_state_dirty")
|
|
|
|
(return-type "GstMessage*")
|
2005-10-27 14:46:59 +00:00
|
|
|
(caller-owns-return #t)
|
2005-10-19 15:04:25 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-function message_new_step_done
|
|
|
|
(c-name "gst_message_new_step_done")
|
|
|
|
(return-type "GstMessage*")
|
2009-07-01 11:53:54 +00:00
|
|
|
(caller-owns-return #t)
|
2009-07-01 08:58:42 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("guint64" "amount")
|
|
|
|
'("gdouble" "rate")
|
|
|
|
'("gboolean" "flush")
|
|
|
|
'("gboolean" "intermediate")
|
|
|
|
'("guint64" "duration")
|
|
|
|
'("gboolean" "eos")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_step_done
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_step_done")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("guint64*" "amount")
|
|
|
|
'("gdouble*" "rate")
|
|
|
|
'("gboolean*" "flush")
|
|
|
|
'("gboolean*" "intermediate")
|
|
|
|
'("guint64*" "duration")
|
|
|
|
'("gboolean*" "eos")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function message_new_clock_provide
|
2005-10-11 12:42:53 +00:00
|
|
|
(c-name "gst_message_new_clock_provide")
|
|
|
|
(return-type "GstMessage*")
|
2005-10-27 14:46:59 +00:00
|
|
|
(caller-owns-return #t)
|
2005-10-11 12:42:53 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GstClock*" "clock")
|
|
|
|
'("gboolean" "ready")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function message_new_clock_lost
|
2005-10-11 12:42:53 +00:00
|
|
|
(c-name "gst_message_new_clock_lost")
|
|
|
|
(return-type "GstMessage*")
|
2005-10-27 14:46:59 +00:00
|
|
|
(caller-owns-return #t)
|
2005-10-11 12:42:53 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GstClock*" "clock")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function message_new_new_clock
|
2005-10-11 12:42:53 +00:00
|
|
|
(c-name "gst_message_new_new_clock")
|
|
|
|
(return-type "GstMessage*")
|
2005-10-27 14:46:59 +00:00
|
|
|
(caller-owns-return #t)
|
2005-10-11 12:42:53 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GstClock*" "clock")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function message_new_segment_start
|
2005-07-21 11:14:46 +00:00
|
|
|
(c-name "gst_message_new_segment_start")
|
|
|
|
(return-type "GstMessage*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-07-21 11:14:46 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
2005-10-19 11:45:34 +00:00
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "position")
|
2005-07-21 11:14:46 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function message_new_segment_done
|
2005-07-21 11:14:46 +00:00
|
|
|
(c-name "gst_message_new_segment_done")
|
|
|
|
(return-type "GstMessage*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-07-21 11:14:46 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
2005-10-19 11:45:34 +00:00
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "position")
|
2005-07-21 11:14:46 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function message_new_application
|
2005-10-11 12:42:53 +00:00
|
|
|
(c-name "gst_message_new_application")
|
|
|
|
(return-type "GstMessage*")
|
2005-10-27 14:46:59 +00:00
|
|
|
(caller-owns-return #t)
|
2005-10-11 12:42:53 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
2008-12-06 15:41:41 +00:00
|
|
|
'("GstStructure*" "structure" (keep-refcount))
|
2005-10-11 12:42:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function message_new_element
|
2005-10-11 12:42:53 +00:00
|
|
|
(c-name "gst_message_new_element")
|
|
|
|
(return-type "GstMessage*")
|
2005-10-27 14:46:59 +00:00
|
|
|
(caller-owns-return #t)
|
2005-10-11 12:42:53 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
2008-12-06 15:41:41 +00:00
|
|
|
'("GstStructure*" "structure" (keep-refcount))
|
2005-10-11 12:42:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function message_new_duration
|
2005-10-19 15:04:25 +00:00
|
|
|
(c-name "gst_message_new_duration")
|
|
|
|
(return-type "GstMessage*")
|
2005-10-27 14:46:59 +00:00
|
|
|
(caller-owns-return #t)
|
2005-10-19 15:04:25 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "duration")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-function message_new_async_start
|
|
|
|
(c-name "gst_message_new_async_start")
|
|
|
|
(return-type "GstMessage*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("gboolean" "new_base_time")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function message_new_async_done
|
|
|
|
(c-name "gst_message_new_async_done")
|
|
|
|
(return-type "GstMessage*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function message_new_latency
|
|
|
|
(c-name "gst_message_new_latency")
|
|
|
|
(return-type "GstMessage*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2008-12-30 19:20:31 +00:00
|
|
|
(define-function message_new_structure_change
|
|
|
|
(c-name "gst_message_new_structure_change")
|
|
|
|
(return-type "GstMessage*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GstStructureChangeType" "type")
|
|
|
|
'("GstElement*" "owner")
|
|
|
|
'("gboolean" "busy")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_structure_change
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_structure_change")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstStructureChangeType*" "type")
|
|
|
|
'("GstElement**" "owner")
|
|
|
|
'("gboolean*" "busy")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-function message_new_stream_status
|
|
|
|
(c-name "gst_message_new_stream_status")
|
|
|
|
(return-type "GstMessage*")
|
2009-07-01 11:53:54 +00:00
|
|
|
(caller-owns-return #t)
|
2009-07-01 08:58:42 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GstStreamStatusType" "type")
|
|
|
|
'("GstElement*" "owner")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_stream_status
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_stream_status")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstStreamStatusType*" "type")
|
|
|
|
'("GstElement**" "owner")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_stream_status_object
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_set_stream_status_object")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "object")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_stream_status_object
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_get_stream_status_object")
|
|
|
|
(return-type "const-GValue*")
|
|
|
|
)
|
|
|
|
|
2009-04-17 16:51:40 +00:00
|
|
|
(define-function message_new_request_state
|
|
|
|
(c-name "gst_message_new_request_state")
|
|
|
|
(return-type "GstMessage*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GstState" "state")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_request_state
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_request_state")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstState*" "state")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-function message_new_step_start
|
|
|
|
(c-name "gst_message_new_step_start")
|
|
|
|
(return-type "GstMessage*")
|
2009-07-01 11:53:54 +00:00
|
|
|
(caller-owns-return #t)
|
2009-07-01 08:58:42 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("gboolean" "active")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("guint64" "amount")
|
|
|
|
'("gdouble" "rate")
|
|
|
|
'("gboolean" "flush")
|
|
|
|
'("gboolean" "intermediate")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_step_start
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_step_start")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean*" "active")
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("guint64*" "amount")
|
|
|
|
'("gdouble*" "rate")
|
|
|
|
'("gboolean*" "flush")
|
|
|
|
'("gboolean*" "intermediate")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-07-20 18:06:10 +00:00
|
|
|
(define-function message_new_custom
|
|
|
|
(c-name "gst_message_new_custom")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "GstMessage*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-07-20 18:06:10 +00:00
|
|
|
'("GstMessageType" "type")
|
2005-07-05 15:07:20 +00:00
|
|
|
'("GstObject*" "src")
|
2008-12-06 15:41:41 +00:00
|
|
|
'("GstStructure*" "structure" (keep-refcount))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method parse_error
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_error")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GError**" "gerror")
|
|
|
|
'("gchar**" "debug")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method parse_warning
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_warning")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GError**" "gerror")
|
|
|
|
'("gchar**" "debug")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-method parse_info
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_info")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GError**" "gerror")
|
|
|
|
'("gchar**" "debug")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-function message_new_tag_full
|
|
|
|
(c-name "gst_message_new_tag_full")
|
|
|
|
(return-type "GstMessage*")
|
2009-07-01 11:53:54 +00:00
|
|
|
(caller-owns-return #t)
|
2009-07-01 08:58:42 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GstPad*" "pad")
|
|
|
|
'("GstTagList*" "tag_list" (keep-refcount))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method parse_tag
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_tag")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstTagList**" "tag_list")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method parse_tag_full
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_tag_full")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstPad**" "pad")
|
|
|
|
'("GstTagList**" "tag_list")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-10-20 10:41:46 +00:00
|
|
|
(define-method parse_buffering
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_buffering")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint*" "percent")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2008-07-02 11:23:39 +00:00
|
|
|
(define-method set_buffering_stats
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_set_buffering_stats")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstBufferingMode" "mode")
|
|
|
|
'("gint" "avg_in")
|
|
|
|
'("gint" "avg_out")
|
|
|
|
'("gint64" "buffering_left")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_buffering_stats
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_buffering_stats")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstBufferingMode*" "mode")
|
|
|
|
'("gint*" "avg_in")
|
|
|
|
'("gint*" "avg_out")
|
|
|
|
'("gint64*" "buffering_left")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method parse_state_changed
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_state_changed")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-09-02 16:21:45 +00:00
|
|
|
'("GstState*" "old_state")
|
|
|
|
'("GstState*" "new_state")
|
2005-10-11 12:42:53 +00:00
|
|
|
'("GstState*" "pending")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_clock_provide
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_clock_provide")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstClock**" "clock")
|
|
|
|
'("gboolean*" "ready")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_clock_lost
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_clock_lost")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstClock**" "clock")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_new_clock
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_new_clock")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstClock**" "clock")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-07-21 11:14:46 +00:00
|
|
|
(define-method parse_segment_start
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_segment_start")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-10-19 15:04:25 +00:00
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "position")
|
2005-07-21 11:14:46 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_segment_done
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_segment_done")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-10-19 15:04:25 +00:00
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "position")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_duration
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_duration")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "duration")
|
2005-07-21 11:14:46 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-method parse_async_start
|
|
|
|
(of-object "GstMessage")
|
|
|
|
(c-name "gst_message_parse_async_start")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean*" "new_base_time")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_structure
|
2005-06-20 21:39:34 +00:00
|
|
|
(of-object "GstMessage*")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_message_get_structure")
|
|
|
|
(return-type "const-GstStructure*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
;; From ../gstreamer/gst/gstminiobject.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function mini_object_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_mini_object_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function mini_object_new
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_mini_object_new")
|
|
|
|
(is-constructor-of "GstMiniObject")
|
|
|
|
(return-type "GstMiniObject*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GType" "type")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method copy
|
|
|
|
(of-object "GstMiniObject")
|
|
|
|
(c-name "gst_mini_object_copy")
|
|
|
|
(return-type "GstMiniObject*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method is_writable
|
|
|
|
(of-object "GstMiniObject")
|
|
|
|
(c-name "gst_mini_object_is_writable")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method make_writable
|
|
|
|
(of-object "GstMiniObject")
|
|
|
|
(c-name "gst_mini_object_make_writable")
|
|
|
|
(return-type "GstMiniObject*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method ref
|
|
|
|
(of-object "GstMiniObject")
|
|
|
|
(c-name "gst_mini_object_ref")
|
|
|
|
(return-type "GstMiniObject*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method unref
|
|
|
|
(of-object "GstMiniObject")
|
|
|
|
(c-name "gst_mini_object_unref")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function mini_object_replace
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_mini_object_replace")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstMiniObject**" "olddata")
|
|
|
|
'("GstMiniObject*" "newdata")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function param_spec_mini_object
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_param_spec_mini_object")
|
|
|
|
(return-type "GParamSpec*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-char*" "name")
|
|
|
|
'("const-char*" "nick")
|
|
|
|
'("const-char*" "blurb")
|
|
|
|
'("GType" "object_type")
|
|
|
|
'("GParamFlags" "flags")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-function gst_param_spec_fraction
|
|
|
|
(c-name "gst_param_spec_fraction")
|
|
|
|
(return-type "GParamSpec*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("const-gchar*" "nick")
|
|
|
|
'("const-gchar*" "blurb")
|
|
|
|
'("gint" "min_num")
|
|
|
|
'("gint" "min_denom")
|
|
|
|
'("gint" "max_num")
|
|
|
|
'("gint" "max_denom")
|
|
|
|
'("gint" "default_num")
|
|
|
|
'("gint" "default_denom")
|
|
|
|
'("GParamFlags" "flags")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_set_mini_object
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_set_mini_object")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GValue*" "value")
|
|
|
|
'("GstMiniObject*" "mini_object")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_take_mini_object
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_take_mini_object")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GValue*" "value")
|
|
|
|
'("GstMiniObject*" "mini_object")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_get_mini_object
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_get_mini_object")
|
|
|
|
(return-type "GstMiniObject*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-GValue*" "value")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2008-07-02 11:23:39 +00:00
|
|
|
(define-function gst_value_dup_mini_object
|
|
|
|
(c-name "gst_value_dup_mini_object")
|
|
|
|
(return-type "GstMiniObject*")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstobject.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function object_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_object_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_name
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_set_name")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_name
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_get_name")
|
|
|
|
(return-type "gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_name_prefix
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_set_name_prefix")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "name_prefix")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_name_prefix
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_get_name_prefix")
|
|
|
|
(return-type "gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_parent
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_set_parent")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstObject*" "parent")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_parent
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_get_parent")
|
|
|
|
(return-type "GstObject*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method unparent
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_unparent")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-09-28 10:58:50 +00:00
|
|
|
(define-method has_ancestor
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_has_ancestor")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstObject*" "ancestor")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-12-18 17:20:12 +00:00
|
|
|
(define-method sink
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_sink")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2007-01-11 17:45:46 +00:00
|
|
|
(define-method set_property
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_set_property")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function object_default_deep_notify
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_object_default_deep_notify")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GObject*" "object")
|
|
|
|
'("GstObject*" "orig")
|
|
|
|
'("GParamSpec*" "pspec")
|
|
|
|
'("gchar**" "excluded_props")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-28 16:13:53 +00:00
|
|
|
(define-function object_ref
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_object_ref")
|
2005-06-28 16:13:53 +00:00
|
|
|
(return-type "gpointer")
|
|
|
|
(parameters
|
|
|
|
'("gpointer" "object")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-28 16:13:53 +00:00
|
|
|
(define-function object_unref
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_object_unref")
|
2005-06-28 16:13:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gpointer" "object")
|
|
|
|
)
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function object_replace
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_object_replace")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstObject**" "oldobj")
|
|
|
|
'("GstObject*" "newobj")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_path_string
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_get_path_string")
|
|
|
|
(return-type "gchar*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function object_check_uniqueness
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_object_check_uniqueness")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GList*" "list")
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method save_thyself
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_save_thyself")
|
2006-10-20 10:41:46 +00:00
|
|
|
(return-type "GstXmlNodePtr")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
2006-10-20 10:41:46 +00:00
|
|
|
'("GstXmlNodePtr" "parent")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method restore_thyself
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_restore_thyself")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-10-20 10:41:46 +00:00
|
|
|
'("GstXmlNodePtr" "self")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function class_signal_connect
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_class_signal_connect")
|
|
|
|
(return-type "guint")
|
|
|
|
(parameters
|
|
|
|
'("GstObjectClass*" "klass")
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("gpointer" "func")
|
|
|
|
'("gpointer" "func_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function class_signal_emit_by_name
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_class_signal_emit_by_name")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstObject*" "object")
|
|
|
|
'("const-gchar*" "name")
|
2006-10-20 10:41:46 +00:00
|
|
|
'("GstXmlNodePtr" "self")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual save_thyself
|
|
|
|
(of-object "GstObject")
|
2006-10-20 10:41:46 +00:00
|
|
|
(return-type "GstXmlNodePtr")
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(parameters
|
2006-10-20 10:41:46 +00:00
|
|
|
'("GstXmlNodePtr" "parent")
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
)
|
|
|
|
)
|
2005-06-17 10:59:47 +00:00
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-virtual restore_thyself
|
|
|
|
(of-object "GstObject")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-10-20 10:41:46 +00:00
|
|
|
'("GstXmlNodePtr" "self")
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
)
|
|
|
|
)
|
2005-06-17 10:59:47 +00:00
|
|
|
|
|
|
|
;; From ../gstreamer/gst/gstpad.h
|
|
|
|
|
2005-10-11 12:42:53 +00:00
|
|
|
(define-function flow_get_name
|
|
|
|
(c-name "gst_flow_get_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
(parameters
|
|
|
|
'("GstFlowReturn" "ret")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function flow_to_quark
|
|
|
|
(c-name "gst_flow_to_quark")
|
|
|
|
(return-type "GQuark")
|
|
|
|
(parameters
|
|
|
|
'("GstFlowReturn" "ret")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pad_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pad_new
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_new")
|
|
|
|
(is-constructor-of "GstPad")
|
|
|
|
(return-type "GstPad*")
|
2006-06-09 10:50:21 +00:00
|
|
|
(properties
|
|
|
|
'("name" (argname "name"))
|
|
|
|
'("direction" (argname "direction"))
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function pad_new_from_template
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_new_from_template")
|
|
|
|
(return-type "GstPad*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstPadTemplate*" "templ")
|
|
|
|
'("const-gchar*" "name")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pad_new_from_static_template
|
|
|
|
(c-name "gst_pad_new_from_static_template")
|
|
|
|
(return-type "GstPad*")
|
|
|
|
(parameters
|
|
|
|
'("GstStaticPadTemplate*" "templ")
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_direction
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_get_direction")
|
|
|
|
(return-type "GstPadDirection")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_active
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_active")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-28 16:13:53 +00:00
|
|
|
'("gboolean" "active")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-28 16:13:53 +00:00
|
|
|
(define-method is_active
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-28 16:13:53 +00:00
|
|
|
(c-name "gst_pad_is_active")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method activate_pull
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_activate_pull")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-28 16:13:53 +00:00
|
|
|
'("gboolean" "active")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-28 16:13:53 +00:00
|
|
|
(define-method activate_push
|
2005-06-17 10:59:47 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-28 16:13:53 +00:00
|
|
|
(c-name "gst_pad_activate_push")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "gboolean")
|
2005-06-28 16:13:53 +00:00
|
|
|
(parameters
|
|
|
|
'("gboolean" "active")
|
|
|
|
)
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_blocked
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_set_blocked")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "blocked")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_blocked_async
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_set_blocked_async")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("gboolean" "blocked")
|
|
|
|
'("GstPadBlockCallback" "callback")
|
|
|
|
'("gpointer" "user_data")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method is_blocked
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_is_blocked")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_element_private
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_element_private")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("gpointer" "priv")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_element_private
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_get_element_private")
|
|
|
|
(return-type "gpointer")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_pad_template
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_get_pad_template")
|
|
|
|
(return-type "GstPadTemplate*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_bufferalloc_function
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_set_bufferalloc_function")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadBufferAllocFunction" "bufalloc")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method alloc_buffer
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_alloc_buffer")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "GstFlowReturn")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("guint64" "offset")
|
|
|
|
'("gint" "size")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstCaps*" "caps")
|
|
|
|
'("GstBuffer**" "buf")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-12-05 13:10:59 +00:00
|
|
|
(define-method alloc_buffer_and_set_caps
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_alloc_buffer_and_set_caps")
|
|
|
|
(return-type "GstFlowReturn")
|
|
|
|
(parameters
|
|
|
|
'("guint64" "offset")
|
|
|
|
'("gint" "size")
|
|
|
|
'("GstCaps*" "caps")
|
|
|
|
'("GstBuffer**" "buf")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_activate_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_activate_function")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadActivateFunction" "activate")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-28 16:13:53 +00:00
|
|
|
(define-method set_activatepull_function
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_set_activatepull_function")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstPadActivateModeFunction" "activatepull")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_activatepush_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-28 16:13:53 +00:00
|
|
|
(c-name "gst_pad_set_activatepush_function")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-28 16:13:53 +00:00
|
|
|
'("GstPadActivateModeFunction" "activatepush")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_chain_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_chain_function")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadChainFunction" "chain")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method set_chain_list_function
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_set_chain_list_function")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstPadChainListFunction" "chainlist")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_getrange_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_getrange_function")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadGetRangeFunction" "get")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_checkgetrange_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_checkgetrange_function")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadCheckGetRangeFunction" "check")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_event_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_event_function")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadEventFunction" "event")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_link_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_link_function")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadLinkFunction" "link")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_unlink_function
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_set_unlink_function")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstPadUnlinkFunction" "unlink")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method link
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_link")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "GstPadLinkReturn")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("GstPad*" "sinkpad")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method unlink
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_unlink")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("GstPad*" "sinkpad")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method is_linked
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_is_linked")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_peer
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_get_peer")
|
|
|
|
(return-type "GstPad*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_getcaps_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_getcaps_function")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadGetCapsFunction" "getcaps")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_acceptcaps_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_acceptcaps_function")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadAcceptCapsFunction" "acceptcaps")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_fixatecaps_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_fixatecaps_function")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadFixateCapsFunction" "fixatecaps")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_setcaps_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_setcaps_function")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadSetCapsFunction" "setcaps")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_pad_template_caps
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_get_pad_template_caps")
|
|
|
|
(return-type "const-GstCaps*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_caps
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_get_caps")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method fixate_caps
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_fixate_caps")
|
2005-07-05 15:07:20 +00:00
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstCaps*" "caps")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method accept_caps
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_accept_caps")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstCaps*" "caps")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_caps
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_caps")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstCaps*" "caps")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method peer_get_caps
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_peer_get_caps")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method peer_accept_caps
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_peer_accept_caps")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstCaps*" "caps")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_allowed_caps
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_get_allowed_caps")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_negotiated_caps
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_get_negotiated_caps")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method push
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_push")
|
|
|
|
(return-type "GstFlowReturn")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-10-05 13:48:21 +00:00
|
|
|
'("GstBuffer*" "buffer" (keep-refcount))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method push_list
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_push_list")
|
|
|
|
(return-type "GstFlowReturn")
|
|
|
|
(parameters
|
|
|
|
'("GstBufferList*" "list" (keep-refcount))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method check_pull_range
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_check_pull_range")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method pull_range
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_pull_range")
|
|
|
|
(return-type "GstFlowReturn")
|
|
|
|
(parameters
|
|
|
|
'("guint64" "offset")
|
|
|
|
'("guint" "size")
|
|
|
|
'("GstBuffer**" "buffer")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method push_event
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_push_event")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-12-09 12:49:08 +00:00
|
|
|
'("GstEvent*" "event" (keep-refcount))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method event_default
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_event_default")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstEvent*" "event")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method chain
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_chain")
|
|
|
|
(return-type "GstFlowReturn")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-12-09 12:49:08 +00:00
|
|
|
'("GstBuffer*" "buffer" (keep-refcount))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method chain_list
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_chain_list")
|
|
|
|
(return-type "GstFlowReturn")
|
|
|
|
(parameters
|
|
|
|
'("GstBufferList*" "list" (keep-refcount))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_range
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_get_range")
|
|
|
|
(return-type "GstFlowReturn")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("guint64" "offset")
|
|
|
|
'("guint" "size")
|
|
|
|
'("GstBuffer**" "buffer")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method send_event
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_send_event")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2006-02-01 14:19:55 +00:00
|
|
|
'("GstEvent*" "event" (keep-refcount))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method start_task
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_start_task")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstTaskFunction" "func")
|
|
|
|
'("gpointer" "data")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method pause_task
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_pause_task")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method stop_task
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_stop_task")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_internal_link_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_internal_link_function")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadIntLinkFunction" "intlink")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_internal_links
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_get_internal_links")
|
|
|
|
(return-type "GList*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_internal_links_default
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_get_internal_links_default")
|
|
|
|
(return-type "GList*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2008-09-09 10:41:27 +00:00
|
|
|
(define-method set_iterate_internal_links_function
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_set_iterate_internal_links_function")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstPadIterIntLinkFunction" "iterintlink")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method iterate_internal_links
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_iterate_internal_links")
|
|
|
|
(return-type "GstIterator*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method iterate_internal_links_default
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_iterate_internal_links_default")
|
|
|
|
(return-type "GstIterator*")
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method set_query_type_function
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_set_query_type_function")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstPadQueryTypeFunction" "type_func")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_query_types
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_get_query_types")
|
|
|
|
(return-type "const-GstQueryType*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_query_types_default
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_get_query_types_default")
|
|
|
|
(return-type "const-GstQueryType*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method query
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_query")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstQuery*" "query")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-10-09 16:17:28 +00:00
|
|
|
(define-method peer_query
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_peer_query")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstQuery*" "query")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_query_function
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_set_query_function")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPadQueryFunction" "query")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method query_default
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPad")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_query_default")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstQuery*" "query")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method dispatcher
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_dispatcher")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstPadDispatcherFunction" "dispatch")
|
|
|
|
'("gpointer" "data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-07-05 15:07:20 +00:00
|
|
|
(define-method add_data_probe
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_add_data_probe")
|
|
|
|
(return-type "gulong")
|
|
|
|
(parameters
|
|
|
|
'("GCallback" "handler")
|
|
|
|
'("gpointer" "data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove_data_probe
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_remove_data_probe")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-09-21 13:36:45 +00:00
|
|
|
'("guint" "handler_id")
|
2005-07-05 15:07:20 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_event_probe
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_add_event_probe")
|
|
|
|
(return-type "gulong")
|
|
|
|
(parameters
|
|
|
|
'("GCallback" "handler")
|
|
|
|
'("gpointer" "data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove_event_probe
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_remove_event_probe")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-09-21 13:36:45 +00:00
|
|
|
'("guint" "handler_id")
|
2005-07-05 15:07:20 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_buffer_probe
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_add_buffer_probe")
|
|
|
|
(return-type "gulong")
|
|
|
|
(parameters
|
|
|
|
'("GCallback" "handler")
|
|
|
|
'("gpointer" "data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove_buffer_probe
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_remove_buffer_probe")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-09-21 13:36:45 +00:00
|
|
|
'("guint" "handler_id")
|
2005-07-05 15:07:20 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-02-02 15:54:07 +00:00
|
|
|
(define-method found_tags_for_pad
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_found_tags_for_pad")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstPad*" "pad")
|
|
|
|
'("GstTagList*" "list")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method found_tags
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_found_tags")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagList*" "list")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-function parse_bin_from_description
|
2006-02-02 15:54:07 +00:00
|
|
|
(c-name "gst_parse_bin_from_description")
|
|
|
|
(return-type "GstElement*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "bin_description")
|
|
|
|
'("gboolean" "ghost_unconnected_pads")
|
|
|
|
'("GError**" "err")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2008-01-14 12:44:06 +00:00
|
|
|
(define-function util_get_timestamp
|
|
|
|
(c-name "gst_util_get_timestamp")
|
|
|
|
(return-type "GstClockTime")
|
|
|
|
)
|
|
|
|
|
2009-04-17 16:51:40 +00:00
|
|
|
(define-function util_array_binary_search
|
|
|
|
(c-name "gst_util_array_binary_search")
|
|
|
|
(return-type "gpointer")
|
|
|
|
(parameters
|
|
|
|
'("gpointer" "array")
|
|
|
|
'("guint" "num_elements")
|
|
|
|
'("gsize" "element_size")
|
|
|
|
'("GCompareDataFunc" "search_func")
|
|
|
|
'("GstSearchMode" "mode")
|
|
|
|
'("gconstpointer" "search_data")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function pad_load_and_link
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_pad_load_and_link")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2006-10-20 10:41:46 +00:00
|
|
|
'("GstXmlNodePtr" "self")
|
2004-02-23 20:24:53 +00:00
|
|
|
'("GstObject*" "parent")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pad_template_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_pad_template_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pad_template_new
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_pad_template_new")
|
|
|
|
(is-constructor-of "GstPadTemplate")
|
|
|
|
(return-type "GstPadTemplate*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name_template")
|
|
|
|
'("GstPadDirection" "direction")
|
|
|
|
'("GstPadPresence" "presence")
|
2005-11-15 15:35:44 +00:00
|
|
|
'("GstCaps*" "caps" (keep-refcount))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get
|
|
|
|
(of-object "GstStaticPadTemplate")
|
|
|
|
(c-name "gst_static_pad_template_get")
|
|
|
|
(return-type "GstPadTemplate*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_caps
|
2005-06-17 10:59:47 +00:00
|
|
|
(of-object "GstStaticPadTemplate")
|
|
|
|
(c-name "gst_static_pad_template_get_caps")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_caps
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstPadTemplate")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_pad_template_get_caps")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-09-28 10:58:50 +00:00
|
|
|
(define-method pad_created
|
|
|
|
(of-object "GstPadTemplate")
|
|
|
|
(c-name "gst_pad_template_pad_created")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstPad*" "pad")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstparse.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function parse_error_quark
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_parse_error_quark")
|
|
|
|
(return-type "GQuark")
|
|
|
|
)
|
|
|
|
|
2008-07-02 11:23:39 +00:00
|
|
|
(define-function gst_parse_context_new
|
|
|
|
(c-name "gst_parse_context_new")
|
|
|
|
(is-constructor-of "GstParseContext")
|
|
|
|
(return-type "GstParseContext*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_missing_elements
|
|
|
|
(of-object "GstParseContext")
|
|
|
|
(c-name "gst_parse_context_get_missing_elements")
|
2009-05-26 19:01:35 +00:00
|
|
|
(return-type "GStrv")
|
2008-07-02 11:23:39 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method free
|
|
|
|
(of-object "GstParseContext")
|
|
|
|
(c-name "gst_parse_context_free")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function parse_launch
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_parse_launch")
|
|
|
|
(return-type "GstElement*")
|
2005-09-28 14:20:03 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "pipeline_description")
|
|
|
|
'("GError**" "error")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function parse_launchv
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_parse_launchv")
|
|
|
|
(return-type "GstElement*")
|
2005-09-28 14:20:03 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar**" "argv")
|
|
|
|
'("GError**" "error")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2008-07-02 11:23:39 +00:00
|
|
|
(define-function parse_launch_full
|
|
|
|
(c-name "gst_parse_launch_full")
|
|
|
|
(return-type "GstElement*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "pipeline_description")
|
|
|
|
'("GstParseContext*" "context")
|
|
|
|
'("GstParseFlags" "flags")
|
|
|
|
'("GError**" "error")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function parse_launchv_full
|
|
|
|
(c-name "gst_parse_launchv_full")
|
|
|
|
(return-type "GstElement*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar**" "argv")
|
|
|
|
'("GstParseContext*" "context")
|
|
|
|
'("GstParseFlags" "flags")
|
|
|
|
'("GError**" "error")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstpipeline.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pipeline_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_pipeline_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function pipeline_new
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_pipeline_new")
|
|
|
|
(is-constructor-of "GstPipeline")
|
|
|
|
(return-type "GstElement*")
|
2006-06-09 10:50:21 +00:00
|
|
|
(properties
|
|
|
|
'("name" (argname "name") (optional))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_bus
|
|
|
|
(of-object "GstPipeline")
|
|
|
|
(c-name "gst_pipeline_get_bus")
|
|
|
|
(return-type "GstBus*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-07-18 16:40:41 +00:00
|
|
|
(define-method set_new_stream_time
|
|
|
|
(of-object "GstPipeline")
|
|
|
|
(c-name "gst_pipeline_set_new_stream_time")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "time")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_last_stream_time
|
|
|
|
(of-object "GstPipeline")
|
|
|
|
(c-name "gst_pipeline_get_last_stream_time")
|
|
|
|
(return-type "GstClockTime")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method use_clock
|
|
|
|
(of-object "GstPipeline")
|
|
|
|
(c-name "gst_pipeline_use_clock")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstClock*" "clock")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_clock
|
|
|
|
(of-object "GstPipeline")
|
|
|
|
(c-name "gst_pipeline_set_clock")
|
2005-11-23 09:53:52 +00:00
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstClock*" "clock")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_clock
|
|
|
|
(of-object "GstPipeline")
|
|
|
|
(c-name "gst_pipeline_get_clock")
|
|
|
|
(return-type "GstClock*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method auto_clock
|
|
|
|
(of-object "GstPipeline")
|
|
|
|
(c-name "gst_pipeline_auto_clock")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2006-03-24 11:07:22 +00:00
|
|
|
(define-method set_delay
|
|
|
|
(of-object "GstPipeline")
|
|
|
|
(c-name "gst_pipeline_set_delay")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "delay")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_delay
|
|
|
|
(of-object "GstPipeline")
|
|
|
|
(c-name "gst_pipeline_get_delay")
|
|
|
|
(return-type "GstClockTime")
|
|
|
|
)
|
|
|
|
|
2006-03-10 10:54:40 +00:00
|
|
|
(define-method set_auto_flush_bus
|
|
|
|
(of-object "GstPipeline")
|
|
|
|
(c-name "gst_pipeline_set_auto_flush_bus")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "auto_flush")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_auto_flush_bus
|
|
|
|
(of-object "GstPipeline")
|
|
|
|
(c-name "gst_pipeline_get_auto_flush_bus")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstplugin.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function plugin_error_quark
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_plugin_error_quark")
|
|
|
|
(return-type "GQuark")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function plugin_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_plugin_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2008-01-14 12:44:06 +00:00
|
|
|
(define-function plugin_register_static
|
|
|
|
(c-name "gst_plugin_register_static")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-GstPluginDesc*" "desc")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method get_name
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_get_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_description
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_get_description")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_filename
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_get_filename")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_version
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_get_version")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method get_license
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_get_license")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
2005-09-03 17:06:52 +00:00
|
|
|
(define-method get_source
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_get_source")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method get_package
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_get_package")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_origin
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_get_origin")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method get_cache_data
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_get_cache_data")
|
|
|
|
(return-type "const-GstStructure*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_cache_data
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_set_cache_data")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstStructure*" "cache_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method get_module
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_get_module")
|
|
|
|
(return-type "GModule*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method is_loaded
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_is_loaded")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method name_filter
|
|
|
|
(of-object "GstPlugin")
|
|
|
|
(c-name "gst_plugin_name_filter")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function plugin_load_file
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_plugin_load_file")
|
|
|
|
(return-type "GstPlugin*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "filename")
|
|
|
|
'("GError**" "error")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2005-09-15 11:58:13 +00:00
|
|
|
(define-method load
|
|
|
|
(of-object "GstPlugin")
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_plugin_load")
|
2005-09-15 11:58:13 +00:00
|
|
|
(return-type "GstPlugin*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-09-28 10:58:50 +00:00
|
|
|
(define-function plugin_load_by_name
|
|
|
|
(c-name "gst_plugin_load_by_name")
|
|
|
|
(return-type "GstPlugin*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function plugin_list_free
|
|
|
|
(c-name "gst_plugin_list_free")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GList*" "list")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
;; From ../gstreamer/gst/gstpluginfeature.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function plugin_feature_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_plugin_feature_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-09-15 11:58:13 +00:00
|
|
|
(define-method load
|
2005-06-17 10:59:47 +00:00
|
|
|
(of-object "GstPluginFeature")
|
2005-09-15 11:58:13 +00:00
|
|
|
(c-name "gst_plugin_feature_load")
|
|
|
|
(return-type "GstPluginFeature*")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method type_name_filter
|
|
|
|
(of-object "GstPluginFeature")
|
|
|
|
(c-name "gst_plugin_feature_type_name_filter")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstTypeNameData*" "data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_rank
|
|
|
|
(of-object "GstPluginFeature")
|
|
|
|
(c-name "gst_plugin_feature_set_rank")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint" "rank")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_name
|
|
|
|
(of-object "GstPluginFeature")
|
|
|
|
(c-name "gst_plugin_feature_set_name")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_rank
|
|
|
|
(of-object "GstPluginFeature")
|
|
|
|
(c-name "gst_plugin_feature_get_rank")
|
|
|
|
(return-type "guint")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_name
|
|
|
|
(of-object "GstPluginFeature")
|
|
|
|
(c-name "gst_plugin_feature_get_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
2005-09-28 10:58:50 +00:00
|
|
|
(define-function plugin_feature_list_free
|
|
|
|
(c-name "gst_plugin_feature_list_free")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GList*" "list")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-14 17:27:45 +00:00
|
|
|
(define-method check_version
|
|
|
|
(of-object "GstPluginFeature")
|
|
|
|
(c-name "gst_plugin_feature_check_version")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("guint" "min_major")
|
|
|
|
'("guint" "min_minor")
|
|
|
|
'("guint" "min_micro")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2008-07-02 11:23:39 +00:00
|
|
|
;; From gstpoll.h
|
|
|
|
|
|
|
|
(define-function gst_poll_new
|
|
|
|
(c-name "gst_poll_new")
|
|
|
|
(is-constructor-of "GstPoll")
|
|
|
|
(return-type "GstPoll*")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "controllable")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-04-17 16:51:40 +00:00
|
|
|
(define-function poll_new_timer
|
|
|
|
(c-name "gst_poll_new_timer")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(return-type "GstPoll*")
|
|
|
|
)
|
|
|
|
|
2008-07-02 11:23:39 +00:00
|
|
|
(define-method free
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_free")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method init
|
|
|
|
(of-object "GstPollFD")
|
|
|
|
(c-name "gst_poll_fd_init")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_fd
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_add_fd")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstPollFD*" "fd")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove_fd
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_remove_fd")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstPollFD*" "fd")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method fd_ctl_write
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_fd_ctl_write")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstPollFD*" "fd")
|
|
|
|
'("gboolean" "active")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method fd_ctl_read
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_fd_ctl_read")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstPollFD*" "fd")
|
|
|
|
'("gboolean" "active")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method fd_ignored
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_fd_ignored")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstPollFD*" "fd")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method fd_has_closed
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_fd_has_closed")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstPollFD*" "fd")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method fd_has_error
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_fd_has_error")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstPollFD*" "fd")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method fd_can_read
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_fd_can_read")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstPollFD*" "fd")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method fd_can_write
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_fd_can_write")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstPollFD*" "fd")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method wait
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_wait")
|
|
|
|
(return-type "gint")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "timeout")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_controllable
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_set_controllable")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "controllable")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method restart
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_restart")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_flushing
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_set_flushing")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "flushing")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-04-17 16:51:40 +00:00
|
|
|
(define-method write_control
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_write_control")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method read_control
|
|
|
|
(of-object "GstPoll")
|
|
|
|
(c-name "gst_poll_read_control")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2008-12-30 19:20:31 +00:00
|
|
|
;; From gstpreset.h
|
|
|
|
|
|
|
|
(define-function gst_preset_get_type
|
|
|
|
(c-name "gst_preset_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_preset_names
|
|
|
|
(of-object "GstPreset")
|
|
|
|
(c-name "gst_preset_get_preset_names")
|
2009-05-26 19:01:35 +00:00
|
|
|
(return-type "GStrv")
|
2008-12-30 19:20:31 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_property_names
|
|
|
|
(of-object "GstPreset")
|
|
|
|
(c-name "gst_preset_get_property_names")
|
2009-05-26 19:01:35 +00:00
|
|
|
(return-type "GStrv")
|
2008-12-30 19:20:31 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method load_preset
|
|
|
|
(of-object "GstPreset")
|
|
|
|
(c-name "gst_preset_load_preset")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method save_preset
|
|
|
|
(of-object "GstPreset")
|
|
|
|
(c-name "gst_preset_save_preset")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method rename_preset
|
|
|
|
(of-object "GstPreset")
|
|
|
|
(c-name "gst_preset_rename_preset")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "old_name")
|
|
|
|
'("const-gchar*" "new_name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method delete_preset
|
|
|
|
(of-object "GstPreset")
|
|
|
|
(c-name "gst_preset_delete_preset")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_meta
|
|
|
|
(of-object "GstPreset")
|
|
|
|
(c-name "gst_preset_set_meta")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("const-gchar*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_meta
|
|
|
|
(of-object "GstPreset")
|
|
|
|
(c-name "gst_preset_get_meta")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("gchar**" "value")
|
|
|
|
)
|
|
|
|
)
|
2008-07-02 11:23:39 +00:00
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstquery.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-method get_name
|
|
|
|
(of-object "GstQueryType")
|
|
|
|
(c-name "gst_query_type_get_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method to_quark
|
|
|
|
(of-object "GstQueryType")
|
|
|
|
(c-name "gst_query_type_to_quark")
|
|
|
|
(return-type "GQuark")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function query_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_query_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function query_type_register
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_query_type_register")
|
|
|
|
(return-type "GstQueryType")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "nick")
|
|
|
|
'("const-gchar*" "description")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function query_type_get_by_nick
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_query_type_get_by_nick")
|
|
|
|
(return-type "GstQueryType")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "nick")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method s_contains
|
|
|
|
(of-object "GstQueryType")
|
|
|
|
(c-name "gst_query_types_contains")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstQueryType" "type")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_details
|
|
|
|
(of-object "GstQueryType")
|
|
|
|
(c-name "gst_query_type_get_details")
|
|
|
|
(return-type "const-GstQueryTypeDefinition*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function query_type_iterate_definitions
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_query_type_iterate_definitions")
|
|
|
|
(return-type "GstIterator*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function query_new_position
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_query_new_position")
|
|
|
|
(return-type "GstQuery*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_position
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_set_position")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "cur")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_position
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_parse_position")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "cur")
|
2005-10-19 17:32:29 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function query_new_duration
|
2005-10-19 17:32:29 +00:00
|
|
|
(c-name "gst_query_new_duration")
|
|
|
|
(return-type "GstQuery*")
|
2005-10-27 14:46:59 +00:00
|
|
|
(caller-owns-return #t)
|
2005-10-19 17:32:29 +00:00
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_duration
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_set_duration")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "duration")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_duration
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_parse_duration")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "duration")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-function query_new_latency
|
|
|
|
(c-name "gst_query_new_latency")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(return-type "GstQuery*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_latency
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_set_latency")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "live")
|
|
|
|
'("GstClockTime" "min_latency")
|
|
|
|
'("GstClockTime" "max_latency")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_latency
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_parse_latency")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean*" "live")
|
|
|
|
'("GstClockTime*" "min_latency")
|
|
|
|
'("GstClockTime*" "max_latency")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function query_new_convert
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_query_new_convert")
|
|
|
|
(return-type "GstQuery*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstFormat" "src_fmt")
|
|
|
|
'("gint64" "value")
|
|
|
|
'("GstFormat" "dest_fmt")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_convert
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_set_convert")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "src_format")
|
|
|
|
'("gint64" "src_value")
|
|
|
|
'("GstFormat" "dest_format")
|
|
|
|
'("gint64" "dest_value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_convert
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_parse_convert")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "src_format")
|
|
|
|
'("gint64*" "src_value")
|
|
|
|
'("GstFormat*" "dest_format")
|
|
|
|
'("gint64*" "dest_value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-28 10:58:50 +00:00
|
|
|
(define-function query_new_segment
|
|
|
|
(c-name "gst_query_new_segment")
|
|
|
|
(return-type "GstQuery*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_segment
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_set_segment")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gdouble" "rate")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "start_value")
|
|
|
|
'("gint64" "stop_value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_segment
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_parse_segment")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gdouble*" "rate")
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "start_value")
|
|
|
|
'("gint64*" "stop_value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function query_new_application
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_query_new_application")
|
|
|
|
(return-type "GstQuery*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstQueryType" "type")
|
|
|
|
'("GstStructure*" "structure")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_structure
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_get_structure")
|
|
|
|
(return-type "GstStructure*")
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2005-11-29 17:25:54 +00:00
|
|
|
(define-function query_new_seeking
|
|
|
|
(c-name "gst_query_new_seeking")
|
|
|
|
(return-type "GstQuery*")
|
2009-04-17 09:33:18 +00:00
|
|
|
(caller-owns-return #t)
|
2005-11-29 17:25:54 +00:00
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_seeking
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_set_seeking")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gboolean" "seekable")
|
|
|
|
'("gint64" "segment_start")
|
|
|
|
'("gint64" "segment_end")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-29 17:25:54 +00:00
|
|
|
(define-method parse_seeking
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_parse_seeking")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gboolean*" "seekable")
|
|
|
|
'("gint64*" "segment_start")
|
|
|
|
'("gint64*" "segment_end")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-02-17 15:35:34 +00:00
|
|
|
(define-function query_new_formats
|
|
|
|
(c-name "gst_query_new_formats")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(return-type "GstQuery*")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_formats
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_set_formats")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint" "n_formats")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2006-02-17 15:35:34 +00:00
|
|
|
(define-method set_formatsv
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_set_formatsv")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint" "n_formats")
|
|
|
|
'("GstFormat*" "formats")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_formats_length
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_parse_formats_length")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint*" "n_formats")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_formats_nth
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_parse_formats_nth")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint" "nth")
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2008-12-30 19:20:31 +00:00
|
|
|
(define-function query_new_buffering
|
|
|
|
(c-name "gst_query_new_buffering")
|
|
|
|
(return-type "GstQuery*")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_buffering_percent
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_set_buffering_percent")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "busy")
|
|
|
|
'("gint" "percent")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_buffering_percent
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_parse_buffering_percent")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean*" "busy")
|
|
|
|
'("gint*" "percent")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_buffering_stats
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_set_buffering_stats")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstBufferingMode" "mode")
|
|
|
|
'("gint" "avg_in")
|
|
|
|
'("gint" "avg_out")
|
|
|
|
'("gint64" "buffering_left")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_buffering_stats
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_parse_buffering_stats")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstBufferingMode*" "mode")
|
|
|
|
'("gint*" "avg_in")
|
|
|
|
'("gint*" "avg_out")
|
|
|
|
'("gint64*" "buffering_left")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_buffering_range
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_set_buffering_range")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "start")
|
|
|
|
'("gint64" "stop")
|
|
|
|
'("gint64" "estimated_total")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_buffering_range
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_parse_buffering_range")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "start")
|
|
|
|
'("gint64*" "stop")
|
|
|
|
'("gint64*" "estimated_total")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function query_new_uri
|
|
|
|
(c-name "gst_query_new_uri")
|
|
|
|
(caller-owns-return #t)
|
|
|
|
(return-type "GstQuery*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_uri
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_parse_uri")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gchar**" "uri")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_uri
|
|
|
|
(of-object "GstQuery")
|
|
|
|
(c-name "gst_query_set_uri")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "uri")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstregistry.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function registry_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_registry_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-09-16 12:33:07 +00:00
|
|
|
(define-function registry_get_default
|
2005-09-15 11:58:13 +00:00
|
|
|
(c-name "gst_registry_get_default")
|
|
|
|
(return-type "GstRegistry*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-09-15 11:58:13 +00:00
|
|
|
(define-method scan_path
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstRegistry")
|
2005-09-15 11:58:13 +00:00
|
|
|
(c-name "gst_registry_scan_path")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "path")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-10-09 16:17:28 +00:00
|
|
|
(define-method add_path
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_add_path")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "path")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method get_path_list
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_get_path_list")
|
|
|
|
(return-type "GList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_plugin
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_add_plugin")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstPlugin*" "plugin")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove_plugin
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_remove_plugin")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstPlugin*" "plugin")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-15 11:58:13 +00:00
|
|
|
(define-method get_plugin_list
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_get_plugin_list")
|
|
|
|
(return-type "GList*")
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method plugin_filter
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_plugin_filter")
|
|
|
|
(return-type "GList*")
|
|
|
|
(parameters
|
|
|
|
'("GstPluginFilter" "filter")
|
|
|
|
'("gboolean" "first")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-18 11:54:34 +00:00
|
|
|
(define-method find_plugin
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_find_plugin")
|
|
|
|
(return-type "GstPlugin*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-09-18 11:54:34 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method feature_filter
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_feature_filter")
|
|
|
|
(return-type "GList*")
|
|
|
|
(parameters
|
|
|
|
'("GstPluginFeatureFilter" "filter")
|
|
|
|
'("gboolean" "first")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-15 11:58:13 +00:00
|
|
|
(define-method get_feature_list
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_get_feature_list")
|
|
|
|
(return-type "GList*")
|
|
|
|
(parameters
|
|
|
|
'("GType" "type")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-23 15:37:40 +00:00
|
|
|
(define-method get_feature_list_by_plugin
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_get_feature_list_by_plugin")
|
|
|
|
(return-type "GList*")
|
|
|
|
(parameters
|
2005-09-28 10:58:50 +00:00
|
|
|
'("const-gchar*" "name")
|
2005-09-23 15:37:40 +00:00
|
|
|
)
|
|
|
|
)
|
2005-09-18 11:54:34 +00:00
|
|
|
(define-method add_feature
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstRegistry")
|
2005-09-18 11:54:34 +00:00
|
|
|
(c-name "gst_registry_add_feature")
|
2005-09-28 10:58:50 +00:00
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-09-18 11:54:34 +00:00
|
|
|
'("GstPluginFeature*" "feature")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove_feature
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_remove_feature")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstPluginFeature*" "feature")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-18 11:54:34 +00:00
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method find_feature
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_find_feature")
|
|
|
|
(return-type "GstPluginFeature*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("GType" "type")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-18 11:54:34 +00:00
|
|
|
(define-method lookup_feature
|
|
|
|
(of-object "GstRegistry")
|
|
|
|
(c-name "gst_registry_lookup_feature")
|
|
|
|
(return-type "GstPluginFeature*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-09-18 11:54:34 +00:00
|
|
|
(parameters
|
|
|
|
'("const-char*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-15 11:58:13 +00:00
|
|
|
(define-method lookup
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstRegistry")
|
2005-09-15 11:58:13 +00:00
|
|
|
(c-name "gst_registry_lookup")
|
|
|
|
(return-type "GstPlugin*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-09-28 10:58:50 +00:00
|
|
|
'("const-char*" "filename")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-15 11:58:13 +00:00
|
|
|
(define-method xml_read_cache
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstRegistry")
|
2005-09-15 11:58:13 +00:00
|
|
|
(c-name "gst_registry_xml_read_cache")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-09-15 11:58:13 +00:00
|
|
|
'("const-char*" "location")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-15 11:58:13 +00:00
|
|
|
(define-method xml_write_cache
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstRegistry")
|
2005-09-15 11:58:13 +00:00
|
|
|
(c-name "gst_registry_xml_write_cache")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-09-15 11:58:13 +00:00
|
|
|
'("const-char*" "location")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function default_registry_check_feature_version
|
2005-10-14 17:27:45 +00:00
|
|
|
(c-name "gst_default_registry_check_feature_version")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "feature_name")
|
|
|
|
'("guint" "min_major")
|
|
|
|
'("guint" "min_minor")
|
|
|
|
'("guint" "min_micro")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
;; From ../gstreamer/gst/gstsegment.h
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-function gst_segment_get_type
|
|
|
|
(c-name "gst_segment_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function gst_segment_new
|
|
|
|
(c-name "gst_segment_new")
|
|
|
|
(is-constructor-of "GstSegment")
|
|
|
|
(return-type "GstSegment*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method free
|
|
|
|
(of-object "GstSegment")
|
|
|
|
(c-name "gst_segment_free")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-method init
|
|
|
|
(of-object "GstSegment")
|
|
|
|
(c-name "gst_segment_init")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_duration
|
|
|
|
(of-object "GstSegment")
|
|
|
|
(c-name "gst_segment_set_duration")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "duration")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 15:38:03 +00:00
|
|
|
(define-method set_last_stop
|
|
|
|
(of-object "GstSegment")
|
|
|
|
(c-name "gst_segment_set_last_stop")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "position")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-method set_seek
|
|
|
|
(of-object "GstSegment")
|
|
|
|
(c-name "gst_segment_set_seek")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gdouble" "rate")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("GstSeekFlags" "flags")
|
2006-10-20 10:41:46 +00:00
|
|
|
'("GstSeekType" "start_type")
|
|
|
|
'("gint64" "start")
|
2005-11-21 11:05:33 +00:00
|
|
|
'("GstSeekType" "stop_type")
|
|
|
|
'("gint64" "stop")
|
2005-11-21 18:48:19 +00:00
|
|
|
'("gboolean*" "update")
|
2005-11-21 11:05:33 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_newsegment
|
|
|
|
(of-object "GstSegment")
|
|
|
|
(c-name "gst_segment_set_newsegment")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "update")
|
|
|
|
'("gdouble" "rate")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "start")
|
|
|
|
'("gint64" "stop")
|
|
|
|
'("gint64" "time")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-05-09 14:24:02 +00:00
|
|
|
(define-method set_newsegment_full
|
|
|
|
(of-object "GstSegment")
|
|
|
|
(c-name "gst_segment_set_newsegment_full")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gboolean" "update")
|
|
|
|
'("gdouble" "rate")
|
|
|
|
'("gdouble" "applied_rate")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "start")
|
|
|
|
'("gint64" "stop")
|
|
|
|
'("gint64" "time")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-method to_stream_time
|
|
|
|
(of-object "GstSegment")
|
|
|
|
(c-name "gst_segment_to_stream_time")
|
|
|
|
(return-type "gint64")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "position")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method to_running_time
|
|
|
|
(of-object "GstSegment")
|
|
|
|
(c-name "gst_segment_to_running_time")
|
|
|
|
(return-type "gint64")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "position")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method to_position
|
|
|
|
(of-object "GstSegment")
|
|
|
|
(c-name "gst_segment_to_position")
|
|
|
|
(return-type "gint64")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "running_time")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-method clip
|
|
|
|
(of-object "GstSegment")
|
|
|
|
(c-name "gst_segment_clip")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "start")
|
|
|
|
'("gint64" "stop")
|
|
|
|
'("gint64*" "clip_start")
|
|
|
|
'("gint64*" "clip_stop")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method set_running_time
|
|
|
|
(of-object "GstSegment")
|
|
|
|
(c-name "gst_segment_set_running_time")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("gint64" "running_time")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gststructure.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function structure_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_structure_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function structure_empty_new
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_structure_empty_new")
|
|
|
|
(is-constructor-of "GstStructureEmpty")
|
|
|
|
(return-type "GstStructure*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "name")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function structure_id_empty_new
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_structure_id_empty_new")
|
|
|
|
(is-constructor-of "GstStructureIdEmpty")
|
|
|
|
(return-type "GstStructure*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GQuark" "quark")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function structure_new
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_structure_new")
|
|
|
|
(is-constructor-of "GstStructure")
|
|
|
|
(return-type "GstStructure*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("const-gchar*" "firstfield")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function structure_new_valist
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_structure_new_valist")
|
|
|
|
(return-type "GstStructure*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("const-gchar*" "firstfield")
|
|
|
|
'("va_list" "varargs")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-function gst_structure_id_new
|
|
|
|
(c-name "gst_structure_id_new")
|
|
|
|
(is-constructor-of "GstStructureId")
|
|
|
|
(return-type "GstStructure*")
|
|
|
|
(parameters
|
|
|
|
'("GQuark" "name_quark")
|
|
|
|
'("GQuark" "field_quark")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method copy
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_copy")
|
|
|
|
(return-type "GstStructure*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_parent_refcount
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_set_parent_refcount")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint*" "refcount")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method free
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_free")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_name
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_name_id
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_name_id")
|
|
|
|
(return-type "GQuark")
|
|
|
|
)
|
|
|
|
|
2005-08-01 09:59:55 +00:00
|
|
|
(define-method has_name
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_has_name")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method set_name
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_set_name")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method id_set_value
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_id_set_value")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GQuark" "field")
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_value
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_set_value")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_set")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_valist
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_set_valist")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("va_list" "varargs")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method id_set
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_id_set")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GQuark" "fieldname")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method id_set_valist
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_id_set_valist")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GQuark" "fieldname")
|
|
|
|
'("va_list" "varargs")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_valist
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_valist")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-char*" "first_fieldname")
|
|
|
|
'("va_list" "args")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-char*" "first_fieldname")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method id_get_valist
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_id_get_valist")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GQuark" "first_field_id")
|
|
|
|
'("va_list" "args")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method id_get
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_id_get")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GQuark" "first_field_id")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method id_get_value
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_id_get_value")
|
|
|
|
(return-type "const-GValue*")
|
|
|
|
(parameters
|
|
|
|
'("GQuark" "field")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_value
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_value")
|
|
|
|
(return-type "const-GValue*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove_field
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_remove_field")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove_fields
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_remove_fields")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove_fields_valist
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_remove_fields_valist")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("va_list" "varargs")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method remove_all_fields
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_remove_all_fields")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_field_type
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_field_type")
|
|
|
|
(return-type "GType")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method foreach
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_foreach")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstStructureForeachFunc" "func")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method map_in_place
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_map_in_place")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstStructureMapFunc" "func")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method n_fields
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_n_fields")
|
|
|
|
(return-type "gint")
|
|
|
|
)
|
|
|
|
|
2005-06-26 13:59:34 +00:00
|
|
|
(define-method nth_field_name
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_nth_field_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
(parameters
|
|
|
|
'("guint" "index")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method has_field
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_has_field")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method has_field_typed
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_has_field_typed")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("GType" "type")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-20 14:50:54 +00:00
|
|
|
(define-method keys
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_keys")
|
|
|
|
(return-type "GList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method get_boolean
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_boolean")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("gboolean*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_int
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_int")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("gint*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-10-09 16:17:28 +00:00
|
|
|
(define-method get_uint
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_uint")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("guint*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method get_fourcc
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_fourcc")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("guint32*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_double
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_double")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("gdouble*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-28 10:58:50 +00:00
|
|
|
(define-method get_date
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_date")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("GDate**" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_clock_time
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_clock_time")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("GstClockTime*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method get_string
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_string")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
)
|
2005-09-29 09:58:25 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_enum
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_enum")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("GType" "enumtype")
|
|
|
|
'("gint*" "value")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-11-23 14:43:26 +00:00
|
|
|
(define-method get_fraction
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_get_fraction")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "fieldname")
|
|
|
|
'("gint*" "value_numerator")
|
|
|
|
'("gint*" "value_denominator")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method to_string
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_to_string")
|
|
|
|
(return-type "gchar*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function structure_from_string
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_structure_from_string")
|
|
|
|
(return-type "GstStructure*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "string")
|
|
|
|
'("gchar**" "end")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 15:38:03 +00:00
|
|
|
(define-method fixate_field_nearest_int
|
|
|
|
(of-object "GstStructure")
|
2005-11-21 14:34:41 +00:00
|
|
|
(c-name "gst_structure_fixate_field_nearest_int")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-char*" "field_name")
|
|
|
|
'("int" "target")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 15:38:03 +00:00
|
|
|
(define-method fixate_field_nearest_double
|
|
|
|
(of-object "GstStructure")
|
2005-11-21 14:34:41 +00:00
|
|
|
(c-name "gst_structure_fixate_field_nearest_double")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-char*" "field_name")
|
|
|
|
'("double" "target")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 15:38:03 +00:00
|
|
|
(define-method fixate_field_boolean
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_fixate_field_boolean")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-char*" "field_name")
|
|
|
|
'("gboolean" "target")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-method fixate_field_nearest_fraction
|
|
|
|
(of-object "GstStructure")
|
|
|
|
(c-name "gst_structure_fixate_field_nearest_fraction")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-char*" "field_name")
|
2005-11-23 14:43:26 +00:00
|
|
|
'("const-gint" "target_numerator")
|
|
|
|
'("const-gint" "target_denominator")
|
2005-11-22 14:15:03 +00:00
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstsystemclock.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function system_clock_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_system_clock_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function system_clock_obtain
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_system_clock_obtain")
|
|
|
|
(return-type "GstClock*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gsttag.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function tag_list_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_list_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function tag_register
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_register")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "name")
|
2004-02-23 20:24:53 +00:00
|
|
|
'("GstTagFlag" "flag")
|
|
|
|
'("GType" "type")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "nick")
|
|
|
|
'("const-gchar*" "blurb")
|
2004-02-23 20:24:53 +00:00
|
|
|
'("GstTagMergeFunc" "func")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function tag_merge_use_first
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_merge_use_first")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "dest")
|
|
|
|
'("const-GValue*" "src")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function tag_merge_strings_with_comma
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_merge_strings_with_comma")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "dest")
|
|
|
|
'("const-GValue*" "src")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function tag_exists
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_exists")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-02-10 11:07:52 +00:00
|
|
|
(define-function tag_get_tag_type
|
|
|
|
(c-name "gst_tag_get_tag_type")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GType")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function tag_get_nick
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_get_nick")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function tag_get_description
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_get_description")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function tag_get_flag
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_tag_get_flag")
|
|
|
|
(return-type "GstTagFlag")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function tag_is_fixed
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_is_fixed")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function tag_list_new
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_list_new")
|
|
|
|
(is-constructor-of "GstTagList")
|
|
|
|
(return-type "GstTagList*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function is_tag_list
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_is_tag_list")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("gconstpointer" "p")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method copy
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_copy")
|
|
|
|
(return-type "GstTagList*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2006-10-20 10:41:46 +00:00
|
|
|
(define-method is_empty
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_is_empty")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method insert
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_insert")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-GstTagList*" "from")
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method merge
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_merge")
|
|
|
|
(return-type "GstTagList*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-GstTagList*" "list2")
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method free
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_free")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_tag_size
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_tag_size")
|
|
|
|
(return-type "guint")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_add")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_values
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_add_values")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_valist
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_add_valist")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("va_list" "var_args")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method add_valist_values
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_add_valist_values")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("va_list" "var_args")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method add_value
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_add_value")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
(define-method remove_tag
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_remove_tag")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method foreach
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_foreach")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagForeachFunc" "func")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_value_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_value_index")
|
|
|
|
(return-type "const-GValue*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function tag_list_copy_value
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_list_copy_value")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "dest")
|
|
|
|
'("const-GstTagList*" "list")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_char
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_char")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("gchar*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_char_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_char_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("gchar*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_uchar
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_uchar")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guchar*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_uchar_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_uchar_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("guchar*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_boolean
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_boolean")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("gboolean*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_boolean_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_boolean_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("gboolean*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_int
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_int")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("gint*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_int_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_int_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("gint*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_uint
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_uint")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_uint_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_uint_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("guint*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_long
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_long")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("glong*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_long_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_long_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("glong*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_ulong
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_ulong")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("gulong*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_ulong_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_ulong_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("gulong*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_int64
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_int64")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("gint64*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_int64_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_int64_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("gint64*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_uint64
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_uint64")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint64*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_uint64_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_uint64_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("guint64*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_float
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_float")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("gfloat*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_float_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_float_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("gfloat*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_double
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_double")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("gdouble*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_double_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_double_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("gdouble*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_string
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_string")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("gchar**" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_string_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_string_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("gchar**" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_pointer
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_pointer")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("gpointer*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_pointer_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_pointer_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("gpointer*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-14 16:26:17 +00:00
|
|
|
(define-method get_date
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_date")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("GDate**" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_date_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_date_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("GDate**" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-04-17 16:51:40 +00:00
|
|
|
(define-method get_buffer
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_buffer")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("GstBuffer**" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_buffer_index
|
|
|
|
(of-object "GstTagList")
|
|
|
|
(c-name "gst_tag_list_get_buffer_index")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("guint" "index")
|
|
|
|
'("GstBuffer**" "value")
|
|
|
|
)
|
|
|
|
)
|
2005-06-17 10:59:47 +00:00
|
|
|
|
|
|
|
;; From ../gstreamer/gst/gsttaginterface.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function tag_setter_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_tag_setter_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2008-12-30 19:20:31 +00:00
|
|
|
(define-method reset_tags
|
|
|
|
(of-object "GstTagSetter")
|
|
|
|
(c-name "gst_tag_setter_reset_tags")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-method merge_tags
|
2004-02-23 20:24:53 +00:00
|
|
|
(of-object "GstTagSetter")
|
2005-11-22 14:15:03 +00:00
|
|
|
(c-name "gst_tag_setter_merge_tags")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("const-GstTagList*" "list")
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-method add_tags
|
2005-06-17 10:59:47 +00:00
|
|
|
(of-object "GstTagSetter")
|
2005-11-22 14:15:03 +00:00
|
|
|
(c-name "gst_tag_setter_add_tags")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-method add_tag_values
|
2005-06-17 10:59:47 +00:00
|
|
|
(of-object "GstTagSetter")
|
2005-11-22 14:15:03 +00:00
|
|
|
(c-name "gst_tag_setter_add_tag_values")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-method add_tag_valist
|
2005-06-17 10:59:47 +00:00
|
|
|
(of-object "GstTagSetter")
|
2005-11-22 14:15:03 +00:00
|
|
|
(c-name "gst_tag_setter_add_tag_valist")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("va_list" "var_args")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-method add_tag_valist_values
|
2005-06-17 10:59:47 +00:00
|
|
|
(of-object "GstTagSetter")
|
2005-11-22 14:15:03 +00:00
|
|
|
(c-name "gst_tag_setter_add_tag_valist_values")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("va_list" "var_args")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method add_tag_value
|
|
|
|
(of-object "GstTagSetter")
|
|
|
|
(c-name "gst_tag_setter_add_tag_value")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
'("const-gchar*" "tag")
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-method get_tag_list
|
2005-06-17 10:59:47 +00:00
|
|
|
(of-object "GstTagSetter")
|
2005-11-22 14:15:03 +00:00
|
|
|
(c-name "gst_tag_setter_get_tag_list")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "const-GstTagList*")
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-method set_tag_merge_mode
|
2005-06-17 10:59:47 +00:00
|
|
|
(of-object "GstTagSetter")
|
2005-11-22 14:15:03 +00:00
|
|
|
(c-name "gst_tag_setter_set_tag_merge_mode")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTagMergeMode" "mode")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-method get_tag_merge_mode
|
2005-06-17 10:59:47 +00:00
|
|
|
(of-object "GstTagSetter")
|
2005-11-22 14:15:03 +00:00
|
|
|
(c-name "gst_tag_setter_get_tag_merge_mode")
|
2005-06-17 10:59:47 +00:00
|
|
|
(return-type "GstTagMergeMode")
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; From ../gstreamer/gst/gsttask.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function task_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_task_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function task_create
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_task_create")
|
|
|
|
(return-type "GstTask*")
|
|
|
|
(parameters
|
|
|
|
'("GstTaskFunction" "func")
|
|
|
|
'("gpointer" "data")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_lock
|
|
|
|
(of-object "GstTask")
|
|
|
|
(c-name "gst_task_set_lock")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GStaticRecMutex*" "mutex")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method set_priority
|
|
|
|
(of-object "GstTask")
|
|
|
|
(c-name "gst_task_set_priority")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GThreadPriority" "priority")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_pool
|
|
|
|
(of-object "GstTask")
|
|
|
|
(c-name "gst_task_get_pool")
|
|
|
|
(return-type "GstTaskPool*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_pool
|
|
|
|
(of-object "GstTask")
|
|
|
|
(c-name "gst_task_set_pool")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTaskPool*" "pool")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_thread_callbacks
|
|
|
|
(of-object "GstTask")
|
|
|
|
(c-name "gst_task_set_thread_callbacks")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTaskThreadCallbacks*" "callbacks")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
'("GDestroyNotify" "notify")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_state
|
|
|
|
(of-object "GstTask")
|
|
|
|
(c-name "gst_task_get_state")
|
|
|
|
(return-type "GstTaskState")
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
(define-method set_state
|
|
|
|
(of-object "GstTask")
|
|
|
|
(c-name "gst_task_set_state")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstTaskState" "state")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method start
|
|
|
|
(of-object "GstTask")
|
|
|
|
(c-name "gst_task_start")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method stop
|
|
|
|
(of-object "GstTask")
|
|
|
|
(c-name "gst_task_stop")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method pause
|
|
|
|
(of-object "GstTask")
|
|
|
|
(c-name "gst_task_pause")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2009-07-01 08:58:42 +00:00
|
|
|
;; From gsttaskpool.h
|
|
|
|
|
|
|
|
(define-function gst_task_pool_get_type
|
|
|
|
(c-name "gst_task_pool_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function gst_task_pool_new
|
|
|
|
(c-name "gst_task_pool_new")
|
|
|
|
(is-constructor-of "GstTaskPool")
|
|
|
|
(return-type "GstTaskPool*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method prepare
|
|
|
|
(of-object "GstTaskPool")
|
|
|
|
(c-name "gst_task_pool_prepare")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GError**" "error")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method push
|
|
|
|
(of-object "GstTaskPool")
|
|
|
|
(c-name "gst_task_pool_push")
|
|
|
|
(return-type "gpointer")
|
|
|
|
(parameters
|
|
|
|
'("GstTaskPoolFunction" "func")
|
|
|
|
'("gpointer" "user_data")
|
|
|
|
'("GError**" "error")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method join
|
|
|
|
(of-object "GstTaskPool")
|
|
|
|
(c-name "gst_task_pool_join")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gpointer" "id")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method cleanup
|
|
|
|
(of-object "GstTaskPool")
|
|
|
|
(c-name "gst_task_pool_cleanup")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gsttrace.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function trace_new
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_trace_new")
|
|
|
|
(is-constructor-of "GstTrace")
|
|
|
|
(return-type "GstTrace*")
|
|
|
|
(parameters
|
|
|
|
'("gchar*" "filename")
|
|
|
|
'("gint" "size")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method destroy
|
|
|
|
(of-object "GstTrace")
|
|
|
|
(c-name "gst_trace_destroy")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method flush
|
|
|
|
(of-object "GstTrace")
|
|
|
|
(c-name "gst_trace_flush")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method text_flush
|
|
|
|
(of-object "GstTrace")
|
|
|
|
(c-name "gst_trace_text_flush")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_default
|
|
|
|
(of-object "GstTrace")
|
|
|
|
(c-name "gst_trace_set_default")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function trace_read_tsc
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_trace_read_tsc")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("gint64*" "dst")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function alloc_trace_available
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_alloc_trace_available")
|
|
|
|
(return-type "gboolean")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function alloc_trace_list
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_alloc_trace_list")
|
|
|
|
(return-type "const-GList*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function alloc_trace_live_all
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_alloc_trace_live_all")
|
|
|
|
(return-type "int")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function alloc_trace_print_all
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_alloc_trace_print_all")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function alloc_trace_print_live
|
2005-06-28 16:13:53 +00:00
|
|
|
(c-name "gst_alloc_trace_print_live")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function alloc_trace_set_flags_all
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_alloc_trace_set_flags_all")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstAllocTraceFlags" "flags")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function alloc_trace_get
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_alloc_trace_get")
|
|
|
|
(return-type "GstAllocTrace*")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method print
|
|
|
|
(of-object "GstAllocTrace")
|
|
|
|
(c-name "gst_alloc_trace_print")
|
|
|
|
(return-type "none")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method set_flags
|
|
|
|
(of-object "GstAllocTrace")
|
|
|
|
(c-name "gst_alloc_trace_set_flags")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstAllocTraceFlags" "flags")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; From ../gstreamer/gst/gsttypefind.h
|
|
|
|
|
2006-05-19 08:48:22 +00:00
|
|
|
(define-function type_find_new
|
|
|
|
(c-name "gst_type_find_new")
|
|
|
|
(return-type "GstTypeFind*")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method peek
|
|
|
|
(of-object "GstTypeFind")
|
|
|
|
(c-name "gst_type_find_peek")
|
|
|
|
(return-type "guint8*")
|
|
|
|
(parameters
|
|
|
|
'("gint64" "offset")
|
|
|
|
'("guint" "size")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method suggest
|
|
|
|
(of-object "GstTypeFind")
|
|
|
|
(c-name "gst_type_find_suggest")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint" "probability")
|
|
|
|
'("const-GstCaps*" "caps")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2008-12-30 19:20:31 +00:00
|
|
|
(define-method suggest_simple
|
|
|
|
(of-object "GstTypeFind")
|
|
|
|
(c-name "gst_type_find_suggest_simple")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("guint" "probability")
|
|
|
|
'("const-char*" "media_type")
|
|
|
|
'("const-char*" "fieldname")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_length
|
|
|
|
(of-object "GstTypeFind")
|
|
|
|
(c-name "gst_type_find_get_length")
|
|
|
|
(return-type "guint64")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function type_find_register
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_type_find_register")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstPlugin*" "plugin")
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("guint" "rank")
|
|
|
|
'("GstTypeFindFunction" "func")
|
|
|
|
'("gchar**" "extensions")
|
|
|
|
'("const-GstCaps*" "possible_caps")
|
|
|
|
'("gpointer" "data")
|
2006-01-09 11:42:25 +00:00
|
|
|
'("GDestroyNotify" "data_notify")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function type_find_factory_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_type_find_factory_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function type_find_factory_get_list
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_type_find_factory_get_list")
|
|
|
|
(return-type "GList*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_extensions
|
|
|
|
(of-object "GstTypeFindFactory")
|
|
|
|
(c-name "gst_type_find_factory_get_extensions")
|
2007-07-05 13:57:41 +00:00
|
|
|
(return-type "GStrv")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_caps
|
|
|
|
(of-object "GstTypeFindFactory")
|
|
|
|
(c-name "gst_type_find_factory_get_caps")
|
2005-09-28 10:58:50 +00:00
|
|
|
(return-type "GstCaps*")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method call_function
|
|
|
|
(of-object "GstTypeFindFactory")
|
|
|
|
(c-name "gst_type_find_factory_call_function")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GstTypeFind*" "find")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
;; From ../gstreamer/gst/gsturi.h
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function uri_protocol_is_valid
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_uri_protocol_is_valid")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "protocol")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-06-08 15:16:08 +00:00
|
|
|
(define-function uri_protocol_is_supported
|
|
|
|
(c-name "gst_uri_protocol_is_supported")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstURIType" "type")
|
|
|
|
'("const-gchar*" "protocol")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function uri_is_valid
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_uri_is_valid")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "uri")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function uri_get_protocol
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_uri_get_protocol")
|
|
|
|
(return-type "gchar*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "uri")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-03-10 10:54:40 +00:00
|
|
|
(define-function uri_has_protocol
|
|
|
|
(c-name "gst_uri_has_protocol")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "uri")
|
|
|
|
'("const-gchar*" "protocol")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function uri_get_location
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_uri_get_location")
|
|
|
|
(return-type "gchar*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "uri")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function uri_construct
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_uri_construct")
|
|
|
|
(return-type "gchar*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "protocol")
|
|
|
|
'("const-gchar*" "location")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function element_make_from_uri
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_make_from_uri")
|
|
|
|
(return-type "GstElement*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-12-18 17:20:12 +00:00
|
|
|
'("GstURIType" "type")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "uri")
|
2006-04-07 14:32:08 +00:00
|
|
|
'("const-gchar*" "elementname" (null-ok) (default "NULL"))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function uri_handler_get_type
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_uri_handler_get_type")
|
|
|
|
(return-type "GType")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_uri_type
|
|
|
|
(of-object "GstURIHandler")
|
|
|
|
(c-name "gst_uri_handler_get_uri_type")
|
2007-07-27 11:21:31 +00:00
|
|
|
(return-type "GstURIType")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_protocols
|
|
|
|
(of-object "GstURIHandler")
|
|
|
|
(c-name "gst_uri_handler_get_protocols")
|
2007-07-05 13:57:41 +00:00
|
|
|
(return-type "GStrv")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_uri
|
|
|
|
(of-object "GstURIHandler")
|
|
|
|
(c-name "gst_uri_handler_get_uri")
|
|
|
|
(return-type "const-gchar*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method set_uri
|
|
|
|
(of-object "GstURIHandler")
|
|
|
|
(c-name "gst_uri_handler_set_uri")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "uri")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method new_uri
|
|
|
|
(of-object "GstURIHandler")
|
|
|
|
(c-name "gst_uri_handler_new_uri")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "uri")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2007-10-25 16:18:55 +00:00
|
|
|
(define-virtual get_type_full
|
2006-04-28 15:07:41 +00:00
|
|
|
(of-object "GstURIHandler")
|
2007-10-25 16:18:55 +00:00
|
|
|
(parameters
|
|
|
|
'("GType" "type")
|
|
|
|
)
|
2006-04-28 15:07:41 +00:00
|
|
|
(return-type "guint")
|
|
|
|
)
|
|
|
|
|
2007-10-25 16:18:55 +00:00
|
|
|
(define-virtual get_protocols_full
|
2006-04-28 15:07:41 +00:00
|
|
|
(of-object "GstURIHandler")
|
2007-10-25 16:18:55 +00:00
|
|
|
(parameters
|
|
|
|
'("GType" "type")
|
|
|
|
)
|
|
|
|
(return-type "GStrv")
|
2006-04-28 15:07:41 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual get_uri
|
|
|
|
(of-object "GstURIHandler")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-virtual set_uri
|
|
|
|
(of-object "GstURIHandler")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "uri")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstutils.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function util_set_value_from_string
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_util_set_value_from_string")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GValue*" "value")
|
|
|
|
'("const-gchar*" "value_str")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function util_set_object_arg
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_util_set_object_arg")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GObject*" "object")
|
|
|
|
'("const-gchar*" "name")
|
|
|
|
'("const-gchar*" "value")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function util_dump_mem
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_util_dump_mem")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("const-guchar*" "mem")
|
|
|
|
'("guint" "size")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2006-01-09 11:42:25 +00:00
|
|
|
(define-function util_gdouble_to_guint64
|
|
|
|
(c-name "gst_util_gdouble_to_guint64")
|
2005-10-11 12:42:53 +00:00
|
|
|
(return-type "guint64")
|
|
|
|
(parameters
|
|
|
|
'("gdouble" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-01-09 11:42:25 +00:00
|
|
|
(define-function util_guint64_to_gdouble
|
|
|
|
(c-name "gst_util_guint64_to_gdouble")
|
2005-10-11 12:42:53 +00:00
|
|
|
(return-type "gdouble")
|
|
|
|
(parameters
|
|
|
|
'("guint64" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-22 17:12:15 +00:00
|
|
|
(define-function util_uint64_scale
|
2005-09-28 10:58:50 +00:00
|
|
|
(c-name "gst_util_uint64_scale")
|
|
|
|
(return-type "guint64")
|
|
|
|
(parameters
|
|
|
|
'("guint64" "val")
|
|
|
|
'("guint64" "num")
|
|
|
|
'("guint64" "denom")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-01-09 11:42:25 +00:00
|
|
|
(define-function util_uint64_scale_int
|
2005-11-23 14:43:26 +00:00
|
|
|
(c-name "gst_util_uint64_scale_int")
|
|
|
|
(return-type "guint64")
|
2005-11-23 09:53:52 +00:00
|
|
|
(parameters
|
2005-11-23 14:43:26 +00:00
|
|
|
'("guint64" "val")
|
2005-11-23 09:53:52 +00:00
|
|
|
'("gint" "num")
|
|
|
|
'("gint" "denom")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2008-12-30 19:20:31 +00:00
|
|
|
(define-function util_seqnum_next
|
|
|
|
(c-name "gst_util_seqnum_next")
|
|
|
|
(return-type "guint32")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function util_seqnum_compare
|
|
|
|
(c-name "gst_util_seqnum_compare")
|
|
|
|
(return-type "gint32")
|
|
|
|
(parameters
|
|
|
|
'("guint32" "s1")
|
|
|
|
'("guint32" "s2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function print_pad_caps
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_print_pad_caps")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GString*" "buf")
|
|
|
|
'("gint" "indent")
|
|
|
|
'("GstPad*" "pad")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function print_element_args
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_print_element_args")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GString*" "buf")
|
|
|
|
'("gint" "indent")
|
|
|
|
'("GstElement*" "element")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method default_error
|
|
|
|
(of-object "GstObject")
|
|
|
|
(c-name "gst_object_default_error")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GError*" "error")
|
|
|
|
'("gchar*" "debug")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method create_all_pads
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_create_all_pads")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_compatible_pad
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_get_compatible_pad")
|
|
|
|
(return-type "GstPad*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPad*" "pad")
|
2006-04-07 17:21:27 +00:00
|
|
|
'("const-GstCaps*" "caps" (null-ok) (default "NULL"))
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_compatible_pad_template
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_get_compatible_pad_template")
|
|
|
|
(return-type "GstPadTemplate*")
|
|
|
|
(parameters
|
|
|
|
'("GstPadTemplate*" "compattempl")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_name
|
2005-09-02 16:21:45 +00:00
|
|
|
(of-object "GstState")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_state_get_name")
|
|
|
|
(return-type "const-gchar*")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-function element_state_get_name
|
|
|
|
(c-name "gst_element_state_get_name")
|
|
|
|
(parameters
|
2005-09-02 16:21:45 +00:00
|
|
|
'("GstState" "state")
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
)
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
)
|
|
|
|
|
2006-12-19 11:38:01 +00:00
|
|
|
(define-function state_change_return_get_name
|
|
|
|
(c-name "gst_element_state_change_return_get_name")
|
|
|
|
(return-type "const-gchar*")
|
|
|
|
(parameters
|
|
|
|
'("GstStateChangeReturn" "state_ret")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method link
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_link")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstElement*" "dest")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function element_link_many
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_link_many")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-20 21:39:34 +00:00
|
|
|
'("GstElement*" "element_1")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstElement*" "element_2")
|
|
|
|
)
|
|
|
|
(varargs #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method unlink
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_unlink")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GstElement*" "dest")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-08-31 15:28:37 +00:00
|
|
|
(define-method link_filtered
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_link_filtered")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstElement*" "dest")
|
|
|
|
'("GstCaps*" "filter")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function element_unlink_many
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_element_unlink_many")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-20 21:39:34 +00:00
|
|
|
'("GstElement*" "element_1")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstElement*" "element_2")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
2005-06-17 10:59:47 +00:00
|
|
|
(varargs #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method link_pads
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_link_pads")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "srcpadname")
|
|
|
|
'("GstElement*" "dest")
|
|
|
|
'("const-gchar*" "destpadname")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method unlink_pads
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_unlink_pads")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "srcpadname")
|
|
|
|
'("GstElement*" "dest")
|
|
|
|
'("const-gchar*" "destpadname")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-07-18 16:40:41 +00:00
|
|
|
(define-method link_pads_filtered
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_link_pads_filtered")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-gchar*" "srcpadname")
|
|
|
|
'("GstElement*" "dest")
|
|
|
|
'("const-gchar*" "destpadname")
|
|
|
|
'("GstCaps*" "filter")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-06-09 10:12:16 +00:00
|
|
|
(define-method seek_simple
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_seek_simple")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("GstSeekFlags" "seek_flags")
|
|
|
|
'("gint64" "seek_pos")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-07-01 16:32:09 +00:00
|
|
|
(define-method can_src_caps
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_can_src_caps")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-GstCaps*" "caps")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method can_sink_caps
|
|
|
|
(of-object "GstElementFactory")
|
|
|
|
(c-name "gst_element_factory_can_sink_caps")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-GstCaps*" "caps")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method query_position
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_query_position")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "cur")
|
2005-10-19 17:32:29 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method query_duration
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_query_duration")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "duration")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method query_convert
|
|
|
|
(of-object "GstElement")
|
|
|
|
(c-name "gst_element_query_convert")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstFormat" "src_format")
|
|
|
|
'("gint64" "src_val")
|
|
|
|
'("GstFormat*" "dest_fmt")
|
|
|
|
'("gint64*" "dest_val")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method install_std_props
|
|
|
|
(of-object "GstElementClass")
|
|
|
|
(c-name "gst_element_class_install_std_props")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-gchar*" "first_name")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
2005-06-17 10:59:47 +00:00
|
|
|
(varargs #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method can_link
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_can_link")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstPad*" "sinkpad")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method use_fixed_caps
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_use_fixed_caps")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method get_fixed_caps_func
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_get_fixed_caps_func")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method proxy_getcaps
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_proxy_getcaps")
|
|
|
|
(return-type "GstCaps*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method proxy_setcaps
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_proxy_setcaps")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstCaps*" "caps")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-07-18 16:40:41 +00:00
|
|
|
(define-method get_parent_element
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_get_parent_element")
|
|
|
|
(return-type "GstElement*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2005-07-18 16:40:41 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method query_position
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_query_position")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "cur")
|
2005-10-19 17:32:29 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method query_duration
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_query_duration")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "duration")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method query_convert
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_query_convert")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstFormat" "src_format")
|
|
|
|
'("gint64" "src_val")
|
|
|
|
'("GstFormat*" "dest_fmt")
|
|
|
|
'("gint64*" "dest_val")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-03-24 11:07:22 +00:00
|
|
|
(define-method query_peer_position
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_query_peer_position")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "cur")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method query_peer_duration
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_query_peer_duration")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat*" "format")
|
|
|
|
'("gint64*" "duration")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method query_peer_convert
|
|
|
|
(of-object "GstPad")
|
|
|
|
(c-name "gst_pad_query_peer_convert")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GstFormat" "src_format")
|
|
|
|
'("gint64" "src_val")
|
|
|
|
'("GstFormat*" "dest_format")
|
|
|
|
'("gint64*" "dest_val")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method remove_many
|
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_remove_many")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstElement*" "element_1")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
2005-06-17 10:59:47 +00:00
|
|
|
(varargs #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2008-12-30 19:20:31 +00:00
|
|
|
(define-method find_unlinked_pad
|
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_find_unlinked_pad")
|
|
|
|
(return-type "GstPad*")
|
|
|
|
(parameters
|
|
|
|
'("GstPadDirection" "direction")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-02-02 15:54:07 +00:00
|
|
|
(define-method find_unconnected_pad
|
|
|
|
(of-object "GstBin")
|
|
|
|
(c-name "gst_bin_find_unconnected_pad")
|
|
|
|
(return-type "GstPad*")
|
|
|
|
(parameters
|
|
|
|
'("GstPadDirection" "direction")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method merge
|
|
|
|
(of-object "GstBuffer")
|
|
|
|
(c-name "gst_buffer_merge")
|
|
|
|
(return-type "GstBuffer*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstBuffer*" "buf2")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method join
|
|
|
|
(of-object "GstBuffer")
|
|
|
|
(c-name "gst_buffer_join")
|
|
|
|
(return-type "GstBuffer*")
|
2005-09-28 10:58:50 +00:00
|
|
|
(caller-owns-return #t)
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GstBuffer*" "buf2")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-method stamp
|
|
|
|
(of-object "GstBuffer")
|
|
|
|
(c-name "gst_buffer_stamp")
|
|
|
|
(return-type "none")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-GstBuffer*" "src")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function atomic_int_set
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_atomic_int_set")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("gint*" "atomic_int")
|
|
|
|
'("gint" "value")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-08 17:22:54 +00:00
|
|
|
(define-function TIME_ARGS
|
|
|
|
(c-name "GST_TIME_ARGS")
|
|
|
|
(return-type "gchar*")
|
|
|
|
(parameters
|
|
|
|
'("GstClockTime" "time")
|
|
|
|
)
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstvalue.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_register
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_register")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-GstValueTable*" "table")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_init_and_copy
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_init_and_copy")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GValue*" "dest")
|
|
|
|
'("const-GValue*" "src")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_serialize
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_serialize")
|
|
|
|
(return-type "gchar*")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-GValue*" "value")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_deserialize
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_deserialize")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GValue*" "dest")
|
|
|
|
'("const-gchar*" "src")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_list_append_value
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_list_append_value")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GValue*" "value")
|
|
|
|
'("const-GValue*" "append_value")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_list_prepend_value
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_list_prepend_value")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "value")
|
|
|
|
'("const-GValue*" "prepend_value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_list_concat
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_list_concat")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GValue*" "dest")
|
|
|
|
'("const-GValue*" "value1")
|
|
|
|
'("const-GValue*" "value2")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_list_get_size
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_list_get_size")
|
|
|
|
(return-type "guint")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_list_get_value
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_list_get_value")
|
|
|
|
(return-type "const-GValue*")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
'("guint" "index")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function value_array_append_value
|
|
|
|
(c-name "gst_value_array_append_value")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "value")
|
|
|
|
'("const-GValue*" "append_value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function value_array_prepend_value
|
|
|
|
(c-name "gst_value_array_prepend_value")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "value")
|
|
|
|
'("const-GValue*" "prepend_value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function value_array_get_size
|
|
|
|
(c-name "gst_value_array_get_size")
|
|
|
|
(return-type "guint")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function value_array_get_value
|
|
|
|
(c-name "gst_value_array_get_value")
|
|
|
|
(return-type "const-GValue*")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
'("guint" "index")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_set_fourcc
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_set_fourcc")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "value")
|
|
|
|
'("guint32" "fourcc")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_get_fourcc
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_get_fourcc")
|
|
|
|
(return-type "guint32")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_set_int_range
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_set_int_range")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "value")
|
2005-11-29 17:25:54 +00:00
|
|
|
'("gint" "start")
|
|
|
|
'("gint" "end")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_get_int_range_min
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_get_int_range_min")
|
2005-11-29 17:25:54 +00:00
|
|
|
(return-type "gint")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_get_int_range_max
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_get_int_range_max")
|
2005-11-29 17:25:54 +00:00
|
|
|
(return-type "gint")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_set_double_range
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_set_double_range")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "value")
|
2005-11-29 17:25:54 +00:00
|
|
|
'("gdouble" "start")
|
|
|
|
'("gdouble" "end")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_get_double_range_min
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_get_double_range_min")
|
2005-11-29 17:25:54 +00:00
|
|
|
(return-type "gdouble")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_get_double_range_max
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_get_double_range_max")
|
2005-11-29 17:25:54 +00:00
|
|
|
(return-type "gdouble")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_get_caps
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_get_caps")
|
|
|
|
(return-type "const-GstCaps*")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_set_caps
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_set_caps")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "value")
|
|
|
|
'("const-GstCaps*" "caps")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_set_fraction
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_set_fraction")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "value")
|
2005-11-29 17:25:54 +00:00
|
|
|
'("gint" "numerator")
|
|
|
|
'("gint" "denominator")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_get_fraction_numerator
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_get_fraction_numerator")
|
2005-11-29 17:25:54 +00:00
|
|
|
(return-type "gint")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_get_fraction_denominator
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_get_fraction_denominator")
|
2005-11-29 17:25:54 +00:00
|
|
|
(return-type "gint")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_fraction_multiply
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_fraction_multiply")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GValue*" "product")
|
|
|
|
'("const-GValue*" "factor1")
|
|
|
|
'("const-GValue*" "factor2")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-22 14:15:03 +00:00
|
|
|
(define-function gst_value_fraction_subtract
|
|
|
|
(c-name "gst_value_fraction_subtract")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "dest")
|
|
|
|
'("const-GValue*" "minuend")
|
|
|
|
'("const-GValue*" "subtrahend")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function gst_value_set_fraction_range
|
|
|
|
(c-name "gst_value_set_fraction_range")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "value")
|
|
|
|
'("const-GValue*" "start")
|
|
|
|
'("const-GValue*" "end")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function gst_value_set_fraction_range_full
|
|
|
|
(c-name "gst_value_set_fraction_range_full")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "value")
|
2005-11-29 17:25:54 +00:00
|
|
|
'("gint" "numerator_start")
|
|
|
|
'("gint" "denominator_start")
|
|
|
|
'("gint" "numerator_end")
|
|
|
|
'("gint" "denominator_end")
|
2005-11-22 14:15:03 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function gst_value_get_fraction_range_min
|
|
|
|
(c-name "gst_value_get_fraction_range_min")
|
|
|
|
(return-type "const-GValue*")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function gst_value_get_fraction_range_max
|
|
|
|
(c-name "gst_value_get_fraction_range_max")
|
|
|
|
(return-type "const-GValue*")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-28 10:58:50 +00:00
|
|
|
(define-function value_get_date
|
|
|
|
(c-name "gst_value_get_date")
|
|
|
|
(return-type "const-GDate*")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-function value_set_date
|
|
|
|
(c-name "gst_value_set_date")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "value")
|
|
|
|
'("const-GDate*" "date")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_compare
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_compare")
|
2005-11-29 17:25:54 +00:00
|
|
|
(return-type "gint")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value1")
|
|
|
|
'("const-GValue*" "value2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_can_compare
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_can_compare")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value1")
|
|
|
|
'("const-GValue*" "value2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_union
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_union")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("GValue*" "dest")
|
|
|
|
'("const-GValue*" "value1")
|
|
|
|
'("const-GValue*" "value2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_can_union
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_can_union")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value1")
|
|
|
|
'("const-GValue*" "value2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_register_union_func
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_register_union_func")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GType" "type1")
|
|
|
|
'("GType" "type2")
|
|
|
|
'("GstValueUnionFunc" "func")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_intersect
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_intersect")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GValue*" "dest")
|
2004-02-23 20:24:53 +00:00
|
|
|
'("const-GValue*" "value1")
|
|
|
|
'("const-GValue*" "value2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_can_intersect
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_can_intersect")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-GValue*" "value1")
|
|
|
|
'("const-GValue*" "value2")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_register_intersect_func
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_value_register_intersect_func")
|
|
|
|
(return-type "none")
|
|
|
|
(parameters
|
|
|
|
'("GType" "type1")
|
|
|
|
'("GType" "type2")
|
|
|
|
'("GstValueIntersectFunc" "func")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_subtract
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_subtract")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("GValue*" "dest")
|
|
|
|
'("const-GValue*" "minuend")
|
|
|
|
'("const-GValue*" "subtrahend")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_can_subtract
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_can_subtract")
|
|
|
|
(return-type "gboolean")
|
2004-02-23 20:24:53 +00:00
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-GValue*" "minuend")
|
|
|
|
'("const-GValue*" "subtrahend")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_register_subtract_func
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_register_subtract_func")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "none")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parameters
|
|
|
|
'("GType" "minuend_type")
|
|
|
|
'("GType" "subtrahend_type")
|
|
|
|
'("GstValueSubtractFunc" "func")
|
|
|
|
)
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function value_is_fixed
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "gst_value_is_fixed")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
2005-06-17 10:59:47 +00:00
|
|
|
'("const-GValue*" "value")
|
2004-02-23 20:24:53 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
;; From ../gstreamer/gst/gstxml.h
|
2004-02-23 20:24:53 +00:00
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function xml_get_type
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_xml_get_type")
|
|
|
|
(return-type "GType")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function xml_write
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_xml_write")
|
|
|
|
(return-type "xmlDocPtr")
|
|
|
|
(parameters
|
|
|
|
'("GstElement*" "element")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function xml_write_file
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_xml_write_file")
|
|
|
|
(return-type "gint")
|
|
|
|
(parameters
|
|
|
|
'("GstElement*" "element")
|
|
|
|
'("FILE*" "out")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function xml_new
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_xml_new")
|
2005-06-20 21:39:34 +00:00
|
|
|
(is-constructor-of "GstXML")
|
2004-02-23 20:24:53 +00:00
|
|
|
(return-type "GstXML*")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_doc
|
|
|
|
(of-object "GstXML")
|
|
|
|
(c-name "gst_xml_parse_doc")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("xmlDocPtr" "doc")
|
|
|
|
'("const-guchar*" "root")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_file
|
|
|
|
(of-object "GstXML")
|
|
|
|
(c-name "gst_xml_parse_file")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("const-guchar*" "fname")
|
|
|
|
'("const-guchar*" "root")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method parse_memory
|
|
|
|
(of-object "GstXML")
|
|
|
|
(c-name "gst_xml_parse_memory")
|
|
|
|
(return-type "gboolean")
|
|
|
|
(parameters
|
|
|
|
'("guchar*" "buffer")
|
|
|
|
'("guint" "size")
|
|
|
|
'("const-gchar*" "root")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_element
|
|
|
|
(of-object "GstXML")
|
|
|
|
(c-name "gst_xml_get_element")
|
|
|
|
(return-type "GstElement*")
|
|
|
|
(parameters
|
|
|
|
'("const-guchar*" "name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-method get_topelements
|
|
|
|
(of-object "GstXML")
|
|
|
|
(c-name "gst_xml_get_topelements")
|
|
|
|
(return-type "GList*")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
(define-function xml_make_element
|
2004-02-23 20:24:53 +00:00
|
|
|
(c-name "gst_xml_make_element")
|
|
|
|
(return-type "GstElement*")
|
|
|
|
(parameters
|
|
|
|
'("xmlNodePtr" "cur")
|
|
|
|
'("GstObject*" "parent")
|
|
|
|
)
|
|
|
|
)
|
2004-08-30 10:42:36 +00:00
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
|
2005-11-18 16:26:05 +00:00
|
|
|
;; From ../gstreamer/gst/net/gstnetclientclock.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function net_client_clock_new
|
2005-11-18 16:26:05 +00:00
|
|
|
(c-name "gst_net_client_clock_new")
|
|
|
|
(is-constructor-of "GstNetClientClock")
|
|
|
|
(return-type "GstClock*")
|
|
|
|
(parameters
|
2005-11-21 16:20:50 +00:00
|
|
|
'("gchar*" "name" (null-ok) (default "NULL"))
|
|
|
|
'("gchar*" "remote_address" (default "127.0.0.1"))
|
2005-11-18 16:26:05 +00:00
|
|
|
'("gint" "remote_port")
|
2005-11-21 16:20:50 +00:00
|
|
|
'("GstClockTime" "base_time" (default 0))
|
2005-11-18 16:26:05 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
;; From ../gstreamer/gst/net/gstnettimeprovider.h
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-function net_time_provider_new
|
2005-11-18 16:26:05 +00:00
|
|
|
(c-name "gst_net_time_provider_new")
|
|
|
|
(is-constructor-of "GstNetTimeProvider")
|
|
|
|
(return-type "GstNetTimeProvider*")
|
|
|
|
(parameters
|
|
|
|
'("GstClock*" "clock")
|
|
|
|
'("gchar*" "address" (null-ok) (default "NULL"))
|
|
|
|
'("gint" "port" (default 0))
|
|
|
|
)
|
|
|
|
)
|