gstreamer/gst/gst.defs

6102 lines
117 KiB
Text
Raw Normal View History

;; -*- scheme -*-
(include "gst-types.defs")
;;(include "0.7.defs")
;; From /opt/gnome/include/gstreamer-0.7/gst/gstatomic.h
(define-method init
(of-object "GstAtomicInt")
(c-name "gst_atomic_int_init")
(return-type "none")
(parameters
'("gint" "val")
)
)
(define-method destroy
(of-object "GstAtomicInt")
(c-name "gst_atomic_int_destroy")
(return-type "none")
)
(define-method set
(of-object "GstAtomicInt")
(c-name "gst_atomic_int_set")
(return-type "none")
(parameters
'("gint" "val")
)
)
(define-method read
(of-object "GstAtomicInt")
(c-name "gst_atomic_int_read")
(return-type "gint")
)
(define-method add
(of-object "GstAtomicInt")
(c-name "gst_atomic_int_add")
(return-type "none")
(parameters
'("gint" "val")
)
)
(define-method inc
(of-object "GstAtomicInt")
(c-name "gst_atomic_int_inc")
(return-type "none")
)
(define-method dec_and_test
(of-object "GstAtomicInt")
(c-name "gst_atomic_int_dec_and_test")
(return-type "gboolean")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstbin.h
(define-function bin_get_type
(c-name "gst_bin_get_type")
(return-type "GType")
)
(define-function bin_new
(c-name "gst_bin_new")
(is-constructor-of "GstBin")
(return-type "GstElement*")
(parameters
'("const-gchar*" "name" (null-ok) (default "NULL"))
)
)
(define-method add
(of-object "GstBin")
(c-name "gst_bin_add")
(return-type "none")
(parameters
'("GstElement*" "element")
)
)
(define-method add_many
(of-object "GstBin")
(c-name "gst_bin_add_many")
(return-type "none")
(parameters
'("GstElement*" "element_1")
)
(varargs #t)
)
(define-method remove
(of-object "GstBin")
(c-name "gst_bin_remove")
(return-type "none")
(parameters
'("GstElement*" "element")
)
)
(define-method remove_many
(of-object "GstBin")
(c-name "gst_bin_remove_many")
(return-type "none")
(parameters
'("GstElement*" "element_1")
)
(varargs #t)
)
(define-method get_by_name
(of-object "GstBin")
(c-name "gst_bin_get_by_name")
(return-type "GstElement*")
(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*")
(parameters
'("const-gchar*" "name")
)
)
(define-method get_list
(of-object "GstBin")
(c-name "gst_bin_get_list")
(return-type "const-GList*")
)
(define-method get_by_interface
(of-object "GstBin")
(c-name "gst_bin_get_by_interface")
(return-type "GstElement*")
(parameters
'("GType" "interface")
)
)
(define-method get_all_by_interface
(of-object "GstBin")
(c-name "gst_bin_get_all_by_interface")
(return-type "GList*")
(parameters
'("GType" "interface")
)
)
(define-method iterate
(of-object "GstBin")
(c-name "gst_bin_iterate")
(return-type "gboolean")
)
(define-method use_clock
(of-object "GstBin")
(c-name "gst_bin_use_clock")
(return-type "none")
(parameters
'("GstClock*" "clock")
)
)
(define-method get_clock
(of-object "GstBin")
(c-name "gst_bin_get_clock")
(return-type "GstClock*")
)
(define-method auto_clock
(of-object "GstBin")
(c-name "gst_bin_auto_clock")
(return-type "none")
)
(define-method sync_children_state
(of-object "GstBin")
(c-name "gst_bin_sync_children_state")
(return-type "GstElementStateReturn")
)
(define-method set_pre_iterate_function
(of-object "GstBin")
(c-name "gst_bin_set_pre_iterate_function")
(return-type "none")
(parameters
'("GstBinPrePostIterateFunction" "func")
'("gpointer" "user_data")
)
)
(define-method set_post_iterate_function
(of-object "GstBin")
(c-name "gst_bin_set_post_iterate_function")
(return-type "none")
(parameters
'("GstBinPrePostIterateFunction" "func")
'("gpointer" "user_data")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstbuffer.h
(define-function buffer_get_type
(c-name "gst_buffer_get_type")
(return-type "GType")
)
(define-function buffer_new
(c-name "gst_buffer_new")
(is-constructor-of "GstBuffer")
(return-type "GstBuffer*")
)
(define-function buffer_new_and_alloc
(c-name "gst_buffer_new_and_alloc")
(return-type "GstBuffer*")
(parameters
'("guint" "size")
)
)
(define-method stamp
(of-object "GstBuffer")
(c-name "gst_buffer_stamp")
(return-type "none")
(parameters
'("const-GstBuffer*" "src")
)
)
(define-method create_sub
(of-object "GstBuffer")
(c-name "gst_buffer_create_sub")
(return-type "GstBuffer*")
(parameters
'("guint" "offset")
'("guint" "size")
)
)
(define-method merge
(of-object "GstBuffer")
(c-name "gst_buffer_merge")
(return-type "GstBuffer*")
(parameters
'("GstBuffer*" "buf2")
)
)
(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*")
(parameters
'("guint32" "offset")
'("GstBuffer*" "buf2")
'("guint32" "len")
)
)
(define-function _gst_buffer_initialize
(c-name "_gst_buffer_initialize")
(return-type "none")
)
(define-method default_free
(of-object "GstBuffer")
(c-name "gst_buffer_default_free")
(return-type "none")
)
(define-method default_copy
(of-object "GstBuffer")
(c-name "gst_buffer_default_copy")
(return-type "GstBuffer*")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstcaps.h
(define-function _gst_caps_initialize
(c-name "_gst_caps_initialize")
(return-type "none")
)
(define-function caps_get_type
(c-name "gst_caps_get_type")
(return-type "GType")
)
(define-function caps_new_empty
(c-name "gst_caps_new_empty")
(return-type "GstCaps*")
)
(define-function caps_new_any
(c-name "gst_caps_new_any")
(return-type "GstCaps*")
)
(define-function caps_new_simple
(c-name "gst_caps_new_simple")
(return-type "GstCaps*")
(parameters
'("const-char*" "media_type")
'("const-char*" "fieldname")
)
(varargs #t)
)
(define-function caps_new_full
(c-name "gst_caps_new_full")
(return-type "GstCaps*")
(parameters
'("GstStructure*" "struct1")
)
(varargs #t)
)
(define-function caps_new_full_valist
(c-name "gst_caps_new_full_valist")
(return-type "GstCaps*")
(parameters
'("GstStructure*" "structure")
'("va_list" "var_args")
)
)
(define-method copy
(of-object "GstCaps")
(c-name "gst_caps_copy")
(return-type "GstCaps*")
)
(define-method free
(of-object "GstCaps")
(c-name "gst_caps_free")
(return-type "none")
)
(define-method get
(of-object "GstStaticCaps")
(c-name "gst_static_caps_get")
(return-type "const-GstCaps*")
)
(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 split_one
(of-object "GstCaps")
(c-name "gst_caps_split_one")
(return-type "GstCaps*")
)
(define-method get_size
(of-object "GstCaps")
(c-name "gst_caps_get_size")
(return-type "int")
)
(define-method get_structure
(of-object "GstCaps")
(c-name "gst_caps_get_structure")
(return-type "GstStructure*")
(parameters
'("int" "index")
)
)
(define-method copy_1
(of-object "GstCaps")
(c-name "gst_caps_copy_1")
(return-type "GstCaps*")
)
(define-method set_simple
(of-object "GstCaps")
(c-name "gst_caps_set_simple")
(return-type "none")
(parameters
'("char*" "field")
)
(varargs #t)
)
(define-method set_simple_valist
(of-object "GstCaps")
(c-name "gst_caps_set_simple_valist")
(return-type "none")
(parameters
'("char*" "field")
'("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_chained
(of-object "GstCaps")
(c-name "gst_caps_is_chained")
(return-type "gboolean")
)
(define-method is_fixed
(of-object "GstCaps")
(c-name "gst_caps_is_fixed")
(return-type "gboolean")
)
(define-method is_equal_fixed
(of-object "GstCaps")
(c-name "gst_caps_is_equal_fixed")
(return-type "gboolean")
(parameters
'("const-GstCaps*" "caps2")
)
)
(define-method is_always_compatible
(of-object "GstCaps")
(c-name "gst_caps_is_always_compatible")
(return-type "gboolean")
(parameters
'("const-GstCaps*" "caps2")
)
)
(define-method intersect
(of-object "GstCaps")
(c-name "gst_caps_intersect")
(return-type "GstCaps*")
(parameters
'("const-GstCaps*" "caps2")
)
)
(define-method union
(of-object "GstCaps")
(c-name "gst_caps_union")
(return-type "GstCaps*")
(parameters
'("const-GstCaps*" "caps2")
)
)
(define-method normalize
(of-object "GstCaps")
(c-name "gst_caps_normalize")
(return-type "GstCaps*")
)
(define-method simplify
(of-object "GstCaps")
(c-name "gst_caps_simplify")
(return-type "GstCaps*")
)
(define-method save_thyself
(of-object "GstCaps")
(c-name "gst_caps_save_thyself")
(return-type "xmlNodePtr")
(parameters
'("xmlNodePtr" "parent")
)
)
(define-function caps_load_thyself
(c-name "gst_caps_load_thyself")
(return-type "GstCaps*")
(parameters
'("xmlNodePtr" "parent")
)
)
(define-function caps_replace
(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*")
)
(define-function caps_from_string
(c-name "gst_caps_from_string")
(return-type "GstCaps*")
(parameters
'("const-gchar*" "string")
)
)
(define-function caps_structure_fixate_field_nearest_int
(c-name "gst_caps_structure_fixate_field_nearest_int")
(return-type "gboolean")
(parameters
'("GstStructure*" "structure")
'("const-char*" "field_name")
'("int" "target")
)
)
(define-function caps_structure_fixate_field_nearest_double
(c-name "gst_caps_structure_fixate_field_nearest_double")
(return-type "gboolean")
(parameters
'("GstStructure*" "structure")
'("const-char*" "field_name")
'("double" "target")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstclock.h
(define-function clock_get_type
(c-name "gst_clock_get_type")
(return-type "GType")
)
(define-method set_speed
(of-object "GstClock")
(c-name "gst_clock_set_speed")
(return-type "gdouble")
(parameters
'("gdouble" "speed")
)
)
(define-method get_speed
(of-object "GstClock")
(c-name "gst_clock_get_speed")
(return-type "gdouble")
)
(define-method set_resolution
(of-object "GstClock")
(c-name "gst_clock_set_resolution")
(return-type "guint64")
(parameters
'("guint64" "resolution")
)
)
(define-method get_resolution
(of-object "GstClock")
(c-name "gst_clock_get_resolution")
(return-type "guint64")
)
(define-method set_active
(of-object "GstClock")
(c-name "gst_clock_set_active")
(return-type "none")
(parameters
'("gboolean" "active")
)
)
(define-method is_active
(of-object "GstClock")
(c-name "gst_clock_is_active")
(return-type "gboolean")
)
(define-method reset
(of-object "GstClock")
(c-name "gst_clock_reset")
(return-type "none")
)
(define-method handle_discont
(of-object "GstClock")
(c-name "gst_clock_handle_discont")
(return-type "gboolean")
(parameters
'("guint64" "time")
)
)
(define-method get_time
(of-object "GstClock")
(c-name "gst_clock_get_time")
(return-type "GstClockTime")
)
(define-method get_event_time
(of-object "GstClock")
(c-name "gst_clock_get_event_time")
(return-type "GstClockTime")
)
(define-method get_next_id
(of-object "GstClock")
(c-name "gst_clock_get_next_id")
(return-type "GstClockID")
)
(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")
)
)
(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")
)
(define-method unlock
(of-object "GstClockID")
(c-name "gst_clock_id_unlock")
(return-type "none")
)
(define-method free
(of-object "GstClockID")
(c-name "gst_clock_id_free")
(return-type "none")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstconfig.h
;; From /opt/gnome/include/gstreamer-0.7/gst/gstcpu.h
(define-function _gst_cpu_initialize
(c-name "_gst_cpu_initialize")
(return-type "none")
(parameters
'("gboolean" "useopt")
)
)
(define-function cpu_get_flags
(c-name "gst_cpu_get_flags")
(return-type "GstCPUFlags")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstdata.h
(define-method init
(of-object "GstData")
(c-name "gst_data_init")
(return-type "none")
(parameters
'("GType" "type")
'("guint16" "flags")
'("GstDataFreeFunction" "free")
'("GstDataCopyFunction" "copy")
)
)
(define-method dispose
(of-object "GstData")
(c-name "gst_data_dispose")
(return-type "none")
)
(define-method copy_into
(of-object "GstData")
(c-name "gst_data_copy_into")
(return-type "none")
(parameters
'("GstData*" "target")
)
)
(define-method copy
(of-object "GstData")
(c-name "gst_data_copy")
(return-type "GstData*")
)
(define-method is_writable
(of-object "GstData")
(c-name "gst_data_is_writable")
(return-type "gboolean")
)
(define-method copy_on_write
(of-object "GstData")
(c-name "gst_data_copy_on_write")
(return-type "GstData*")
)
(define-method free
(of-object "GstData")
(c-name "gst_data_free")
(return-type "none")
)
(define-method ref
(of-object "GstData")
(c-name "gst_data_ref")
(return-type "GstData*")
)
(define-method ref_by_count
(of-object "GstData")
(c-name "gst_data_ref_by_count")
(return-type "GstData*")
(parameters
'("gint" "count")
)
)
(define-method unref
(of-object "GstData")
(c-name "gst_data_unref")
(return-type "none")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstelement.h
(define-method add_pad_template
(of-object "GstElementClass")
(c-name "gst_element_class_add_pad_template")
(return-type "none")
(parameters
'("GstPadTemplate*" "templ")
)
)
(define-method install_std_props
(of-object "GstElementClass")
(c-name "gst_element_class_install_std_props")
(return-type "none")
(parameters
'("const-gchar*" "first_name")
)
(varargs #t)
)
(define-method set_details
(of-object "GstElementClass")
(c-name "gst_element_class_set_details")
(return-type "none")
(parameters
'("const-GstElementDetails*" "details")
)
)
(define-function element_default_error
(c-name "gst_element_default_error")
(return-type "none")
(parameters
'("GObject*" "object")
'("GstObject*" "orig")
'("GError*" "error")
'("gchar*" "debug")
)
)
(define-function element_get_type
(c-name "gst_element_get_type")
(return-type "GType")
)
(define-method set_loop_function
(of-object "GstElement")
(c-name "gst_element_set_loop_function")
(return-type "none")
(parameters
'("GstElementLoopFunction" "loop")
)
)
(define-method set
(of-object "GstElement")
(c-name "gst_element_set")
(return-type "none")
(parameters
'("const-gchar*" "first_property_name")
)
(varargs #t)
)
(define-method get
(of-object "GstElement")
(c-name "gst_element_get")
(return-type "none")
(parameters
'("const-gchar*" "first_property_name")
)
(varargs #t)
)
(define-method set_valist
(of-object "GstElement")
(c-name "gst_element_set_valist")
(return-type "none")
(parameters
'("const-gchar*" "first_property_name")
'("va_list" "var_args")
)
)
(define-method get_valist
(of-object "GstElement")
(c-name "gst_element_get_valist")
(return-type "none")
(parameters
'("const-gchar*" "first_property_name")
'("va_list" "var_args")
)
)
(define-method set_property
(of-object "GstElement")
(c-name "gst_element_set_property")
(return-type "none")
(parameters
'("const-gchar*" "property_name")
'("const-GValue*" "value")
)
)
(define-method get_property
(of-object "GstElement")
(c-name "gst_element_get_property")
(return-type "none")
(parameters
'("const-gchar*" "property_name")
'("GValue*" "value")
)
)
(define-method enable_threadsafe_properties
(of-object "GstElement")
(c-name "gst_element_enable_threadsafe_properties")
(return-type "none")
)
(define-method disable_threadsafe_properties
(of-object "GstElement")
(c-name "gst_element_disable_threadsafe_properties")
(return-type "none")
)
(define-method set_pending_properties
(of-object "GstElement")
(c-name "gst_element_set_pending_properties")
(return-type "none")
)
(define-method requires_clock
(of-object "GstElement")
(c-name "gst_element_requires_clock")
(return-type "gboolean")
)
(define-method provides_clock
(of-object "GstElement")
(c-name "gst_element_provides_clock")
(return-type "gboolean")
)
(define-method get_clock
(of-object "GstElement")
(c-name "gst_element_get_clock")
(return-type "GstClock*")
)
(define-method set_clock
(of-object "GstElement")
(c-name "gst_element_set_clock")
(return-type "none")
(parameters
'("GstClock*" "clock")
)
)
(define-method clock_wait
(of-object "GstElement")
(c-name "gst_element_clock_wait")
(return-type "GstClockReturn")
(parameters
'("GstClockID" "id")
'("GstClockTimeDiff*" "jitter")
)
)
(define-method get_time
(of-object "GstElement")
(c-name "gst_element_get_time")
(return-type "GstClockTime")
)
(define-method wait
(of-object "GstElement")
(c-name "gst_element_wait")
(return-type "gboolean")
(parameters
'("GstClockTime" "timestamp")
)
)
(define-method set_time
(of-object "GstElement")
(c-name "gst_element_set_time")
(return-type "none")
(parameters
'("GstClockTime" "time")
)
)
(define-method adjust_time
(of-object "GstElement")
(c-name "gst_element_adjust_time")
(return-type "none")
(parameters
'("GstClockTimeDiff" "diff")
)
)
(define-method is_indexable
(of-object "GstElement")
(c-name "gst_element_is_indexable")
(return-type "gboolean")
)
(define-method set_index
(of-object "GstElement")
(c-name "gst_element_set_index")
(return-type "none")
(parameters
'("GstIndex*" "index")
)
)
(define-method get_index
(of-object "GstElement")
(c-name "gst_element_get_index")
(return-type "GstIndex*")
)
(define-method release_locks
(of-object "GstElement")
(c-name "gst_element_release_locks")
(return-type "gboolean")
)
(define-method yield
(of-object "GstElement")
(c-name "gst_element_yield")
(return-type "none")
)
(define-method interrupt
(of-object "GstElement")
(c-name "gst_element_interrupt")
(return-type "gboolean")
)
(define-method set_scheduler
(of-object "GstElement")
(c-name "gst_element_set_scheduler")
(return-type "none")
(parameters
'("GstScheduler*" "sched")
)
)
(define-method get_scheduler
(of-object "GstElement")
(c-name "gst_element_get_scheduler")
(return-type "GstScheduler*")
)
(define-method add_pad
(of-object "GstElement")
(c-name "gst_element_add_pad")
(return-type "none")
(parameters
'("GstPad*" "pad")
)
)
(define-method remove_pad
(of-object "GstElement")
(c-name "gst_element_remove_pad")
(return-type "none")
(parameters
'("GstPad*" "pad")
)
)
(define-method add_ghost_pad
(of-object "GstElement")
(c-name "gst_element_add_ghost_pad")
(return-type "GstPad*")
(parameters
'("GstPad*" "pad")
'("const-gchar*" "name")
)
)
(define-method remove_ghost_pad
(of-object "GstElement")
(c-name "gst_element_remove_ghost_pad")
(return-type "none")
(parameters
'("GstPad*" "pad")
)
)
(define-method get_pad
(of-object "GstElement")
(c-name "gst_element_get_pad")
(return-type "GstPad*")
(parameters
'("const-gchar*" "name")
)
)
(define-method get_static_pad
(of-object "GstElement")
(c-name "gst_element_get_static_pad")
(return-type "GstPad*")
(parameters
'("const-gchar*" "name")
)
)
(define-method get_request_pad
(of-object "GstElement")
(c-name "gst_element_get_request_pad")
(return-type "GstPad*")
(parameters
'("const-gchar*" "name")
)
)
(define-method release_request_pad
(of-object "GstElement")
(c-name "gst_element_release_request_pad")
(return-type "none")
(parameters
'("GstPad*" "pad")
)
)
(define-method get_pad_list
(of-object "GstElement")
(c-name "gst_element_get_pad_list")
(return-type "const-GList*")
)
(define-method get_compatible_pad
(of-object "GstElement")
(c-name "gst_element_get_compatible_pad")
(return-type "GstPad*")
(parameters
'("GstPad*" "pad")
)
)
(define-method get_compatible_pad_filtered
(of-object "GstElement")
(c-name "gst_element_get_compatible_pad_filtered")
(return-type "GstPad*")
(parameters
'("GstPad*" "pad")
'("const-GstCaps*" "filtercaps")
)
)
(define-method get_pad_template
(of-object "GstElementClass")
(c-name "gst_element_class_get_pad_template")
(return-type "GstPadTemplate*")
(parameters
'("const-gchar*" "name")
)
)
(define-method get_pad_template_list
(of-object "GstElementClass")
(c-name "gst_element_class_get_pad_template_list")
(return-type "GList*")
)
(define-method get_pad_template
(of-object "GstElement")
(c-name "gst_element_get_pad_template")
(return-type "GstPadTemplate*")
(parameters
'("const-gchar*" "name")
)
)
(define-method get_pad_template_list
(of-object "GstElement")
(c-name "gst_element_get_pad_template_list")
(return-type "GList*")
)
(define-method get_compatible_pad_template
(of-object "GstElement")
(c-name "gst_element_get_compatible_pad_template")
(return-type "GstPadTemplate*")
(parameters
'("GstPadTemplate*" "compattempl")
)
)
(define-method link
(of-object "GstElement")
(c-name "gst_element_link")
(return-type "gboolean")
(parameters
'("GstElement*" "dest")
)
)
(define-method link_filtered
(of-object "GstElement")
(c-name "gst_element_link_filtered")
(return-type "gboolean")
(parameters
'("GstElement*" "dest")
'("const-GstCaps*" "filtercaps")
)
)
(define-function element_link_many
(c-name "gst_element_link_many")
(return-type "gboolean")
(parameters
'("GstElement*" "element_1")
'("GstElement*" "element_2")
)
(varargs #t)
)
(define-method unlink
(of-object "GstElement")
(c-name "gst_element_unlink")
(return-type "none")
(parameters
'("GstElement*" "dest")
)
)
(define-method unlink_many
(of-object "GstElement")
(c-name "gst_element_unlink_many")
(return-type "none")
(parameters
'("GstElement*" "element_2")
)
(varargs #t)
)
(define-method link_pads
(of-object "GstElement")
(c-name "gst_element_link_pads")
(return-type "gboolean")
(parameters
'("const-gchar*" "srcpadname")
'("GstElement*" "dest")
'("const-gchar*" "destpadname")
)
)
(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")
'("const-GstCaps*" "filtercaps")
)
)
(define-method unlink_pads
(of-object "GstElement")
(c-name "gst_element_unlink_pads")
(return-type "none")
(parameters
'("const-gchar*" "srcpadname")
'("GstElement*" "dest")
'("const-gchar*" "destpadname")
)
)
(define-method get_event_masks
(of-object "GstElement")
(c-name "gst_element_get_event_masks")
(return-type "const-GstEventMask*")
)
(define-method send_event
(of-object "GstElement")
(c-name "gst_element_send_event")
(return-type "gboolean")
(parameters
'("GstEvent*" "event")
)
)
(define-method seek
(of-object "GstElement")
(c-name "gst_element_seek")
(return-type "gboolean")
(parameters
'("GstSeekType" "seek_type")
'("guint64" "offset")
)
)
(define-method get_query_types
(of-object "GstElement")
(c-name "gst_element_get_query_types")
(return-type "const-GstQueryType*")
)
(define-method query
(of-object "GstElement")
(c-name "gst_element_query")
(return-type "gboolean")
(parameters
'("GstQueryType" "type")
'("GstFormat*" "format")
'("gint64*" "value")
)
)
(define-method get_formats
(of-object "GstElement")
(c-name "gst_element_get_formats")
(return-type "const-GstFormat*")
)
(define-method convert
(of-object "GstElement")
(c-name "gst_element_convert")
(return-type "gboolean")
(parameters
'("GstFormat" "src_format")
'("gint64" "src_value")
'("GstFormat*" "dest_format")
'("gint64*" "dest_value")
)
)
(define-method found_tags
(of-object "GstElement")
(c-name "gst_element_found_tags")
(return-type "none")
(parameters
'("const-GstTagList*" "tag_list")
)
)
(define-method found_tags_for_pad
(of-object "GstElement")
(c-name "gst_element_found_tags_for_pad")
(return-type "none")
(parameters
'("GstPad*" "pad")
'("GstClockTime" "timestamp")
'("GstTagList*" "list")
)
)
(define-method set_eos
(of-object "GstElement")
(c-name "gst_element_set_eos")
(return-type "none")
)
(define-function _gst_element_error_printf
(c-name "_gst_element_error_printf")
(return-type "gchar*")
(parameters
'("const-gchar*" "format")
)
(varargs #t)
)
(define-method error_full
(of-object "GstElement")
(c-name "gst_element_error_full")
(return-type "none")
(parameters
'("GQuark" "domain")
'("gint" "code")
'("gchar*" "message")
'("gchar*" "debug")
'("const-gchar*" "file")
'("const-gchar*" "function")
'("gint" "line")
)
)
(define-method is_locked_state
(of-object "GstElement")
(c-name "gst_element_is_locked_state")
(return-type "gboolean")
)
(define-method set_locked_state
(of-object "GstElement")
(c-name "gst_element_set_locked_state")
(return-type "none")
(parameters
'("gboolean" "locked_state")
)
)
(define-method sync_state_with_parent
(of-object "GstElement")
(c-name "gst_element_sync_state_with_parent")
(return-type "gboolean")
)
(define-method get_state
(of-object "GstElement")
(c-name "gst_element_get_state")
(return-type "GstElementState")
)
(define-method set_state
(of-object "GstElement")
(c-name "gst_element_set_state")
(return-type "GstElementStateReturn")
(parameters
'("GstElementState" "state")
)
)
(define-method wait_state_change
(of-object "GstElement")
(c-name "gst_element_wait_state_change")
(return-type "none")
)
(define-method get_name
(of-object "GstElementState")
(c-name "gst_element_state_get_name")
(return-type "const-gchar*")
)
(define-method get_factory
(of-object "GstElement")
(c-name "gst_element_get_factory")
(return-type "GstElementFactory*")
)
(define-method get_managing_bin
(of-object "GstElement")
(c-name "gst_element_get_managing_bin")
(return-type "GstBin*")
)
(define-function element_factory_get_type
(c-name "gst_element_factory_get_type")
(return-type "GType")
)
(define-function element_register
(c-name "gst_element_register")
(return-type "gboolean")
(parameters
'("GstPlugin*" "plugin")
'("const-gchar*" "elementname")
'("guint" "rank")
'("GType" "type")
)
)
(define-function element_factory_find
(c-name "gst_element_factory_find")
(return-type "GstElementFactory*")
(parameters
'("const-gchar*" "name")
)
)
(define-method get_element_type
(of-object "GstElementFactory")
(c-name "gst_element_factory_get_element_type")
(return-type "GType")
)
(define-method get_longname
(of-object "GstElementFactory")
(c-name "gst_element_factory_get_longname")
(return-type "const-gchar*")
)
(define-method get_klass
(of-object "GstElementFactory")
(c-name "gst_element_factory_get_klass")
(return-type "const-gchar*")
)
(define-method get_description
(of-object "GstElementFactory")
(c-name "gst_element_factory_get_description")
(return-type "const-gchar*")
)
(define-method get_author
(of-object "GstElementFactory")
(c-name "gst_element_factory_get_author")
(return-type "const-gchar*")
)
(define-method get_num_pad_templates
(of-object "GstElementFactory")
(c-name "gst_element_factory_get_num_pad_templates")
(return-type "guint")
)
(define-method get_pad_templates
(of-object "GstElementFactory")
(c-name "gst_element_factory_get_pad_templates")
(return-type "const-GList*")
)
(define-method get_uri_type
(of-object "GstElementFactory")
(c-name "gst_element_factory_get_uri_type")
(return-type "guint")
)
(define-method get_uri_protocols
(of-object "GstElementFactory")
(c-name "gst_element_factory_get_uri_protocols")
(return-type "gchar**")
)
(define-method create
(of-object "GstElementFactory")
(c-name "gst_element_factory_create")
(return-type "GstElement*")
(parameters
'("const-gchar*" "name")
)
)
(define-function element_factory_make
(c-name "gst_element_factory_make")
(return-type "GstElement*")
(parameters
'("const-gchar*" "factoryname")
'("const-gchar*" "name" (null-ok) (default "NULL"))
)
)
(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")
)
)
(define-method __add_pad_template
(of-object "GstElementFactory")
(c-name "__gst_element_factory_add_pad_template")
(return-type "none")
(parameters
'("GstPadTemplate*" "templ")
)
)
(define-method __add_interface
(of-object "GstElementFactory")
(c-name "__gst_element_factory_add_interface")
(return-type "none")
(parameters
'("const-gchar*" "interfacename")
)
)
(define-function element_state_get_name
(c-name "gst_element_state_get_name")
(parameters
'("GstElementState" "state")
)
(return-type "const-gchar*")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstenumtypes.h
(define-function object_flags_get_type
(c-name "gst_object_flags_get_type")
(return-type "GType")
)
(define-function bin_flags_get_type
(c-name "gst_bin_flags_get_type")
(return-type "GType")
)
(define-function buffer_flag_get_type
(c-name "gst_buffer_flag_get_type")
(return-type "GType")
)
(define-function clock_entry_status_get_type
(c-name "gst_clock_entry_status_get_type")
(return-type "GType")
)
(define-function clock_entry_type_get_type
(c-name "gst_clock_entry_type_get_type")
(return-type "GType")
)
(define-function clock_return_get_type
(c-name "gst_clock_return_get_type")
(return-type "GType")
)
(define-function clock_flags_get_type
(c-name "gst_clock_flags_get_type")
(return-type "GType")
)
(define-function cpu_flags_get_type
(c-name "gst_cpu_flags_get_type")
(return-type "GType")
)
(define-function data_flags_get_type
(c-name "gst_data_flags_get_type")
(return-type "GType")
)
(define-function element_flags_get_type
(c-name "gst_element_flags_get_type")
(return-type "GType")
)
(define-function core_error_get_type
(c-name "gst_core_error_get_type")
(return-type "GType")
)
(define-function library_error_get_type
(c-name "gst_library_error_get_type")
(return-type "GType")
)
(define-function resource_error_get_type
(c-name "gst_resource_error_get_type")
(return-type "GType")
)
(define-function stream_error_get_type
(c-name "gst_stream_error_get_type")
(return-type "GType")
)
(define-function event_type_get_type
(c-name "gst_event_type_get_type")
(return-type "GType")
)
(define-function event_flag_get_type
(c-name "gst_event_flag_get_type")
(return-type "GType")
)
(define-function seek_type_get_type
(c-name "gst_seek_type_get_type")
(return-type "GType")
)
(define-function seek_accuracy_get_type
(c-name "gst_seek_accuracy_get_type")
(return-type "GType")
)
(define-function format_get_type
(c-name "gst_format_get_type")
(return-type "GType")
)
(define-function index_certainty_get_type
(c-name "gst_index_certainty_get_type")
(return-type "GType")
)
(define-function index_entry_type_get_type
(c-name "gst_index_entry_type_get_type")
(return-type "GType")
)
(define-function index_lookup_method_get_type
(c-name "gst_index_lookup_method_get_type")
(return-type "GType")
)
(define-function assoc_flags_get_type
(c-name "gst_assoc_flags_get_type")
(return-type "GType")
)
(define-function index_resolver_method_get_type
(c-name "gst_index_resolver_method_get_type")
(return-type "GType")
)
(define-function index_flags_get_type
(c-name "gst_index_flags_get_type")
(return-type "GType")
)
(define-function debug_level_get_type
(c-name "gst_debug_level_get_type")
(return-type "GType")
)
(define-function debug_color_flags_get_type
(c-name "gst_debug_color_flags_get_type")
(return-type "GType")
)
(define-function pad_link_return_get_type
(c-name "gst_pad_link_return_get_type")
(return-type "GType")
)
(define-function pad_direction_get_type
(c-name "gst_pad_direction_get_type")
(return-type "GType")
)
(define-function pad_flags_get_type
(c-name "gst_pad_flags_get_type")
(return-type "GType")
)
(define-function pad_presence_get_type
(c-name "gst_pad_presence_get_type")
(return-type "GType")
)
(define-function pad_template_flags_get_type
(c-name "gst_pad_template_flags_get_type")
(return-type "GType")
)
(define-function plugin_error_get_type
(c-name "gst_plugin_error_get_type")
(return-type "GType")
)
(define-function query_type_get_type
(c-name "gst_query_type_get_type")
(return-type "GType")
)
(define-function scheduler_flags_get_type
(c-name "gst_scheduler_flags_get_type")
(return-type "GType")
)
(define-function scheduler_state_get_type
(c-name "gst_scheduler_state_get_type")
(return-type "GType")
)
(define-function tag_merge_mode_get_type
(c-name "gst_tag_merge_mode_get_type")
(return-type "GType")
)
(define-function tag_flag_get_type
(c-name "gst_tag_flag_get_type")
(return-type "GType")
)
(define-function thread_state_get_type
(c-name "gst_thread_state_get_type")
(return-type "GType")
)
(define-function alloc_trace_flags_get_type
(c-name "gst_alloc_trace_flags_get_type")
(return-type "GType")
)
(define-function type_find_probability_get_type
(c-name "gst_type_find_probability_get_type")
(return-type "GType")
)
(define-function element_state_get_type
(c-name "gst_element_state_get_type")
(return-type "GType")
)
(define-function element_state_return_get_type
(c-name "gst_element_state_return_get_type")
(return-type "GType")
)
(define-function result_get_type
(c-name "gst_result_get_type")
(return-type "GType")
)
(define-function uri_type_get_type
(c-name "gst_uri_type_get_type")
(return-type "GType")
)
(define-function registry_return_get_type
(c-name "gst_registry_return_get_type")
(return-type "GType")
)
(define-function registry_flags_get_type
(c-name "gst_registry_flags_get_type")
(return-type "GType")
)
(define-function parse_error_get_type
(c-name "gst_parse_error_get_type")
(return-type "GType")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gsterror.h
(define-function core_error_quark
(c-name "gst_core_error_quark")
(return-type "GQuark")
)
(define-function library_error_quark
(c-name "gst_library_error_quark")
(return-type "GQuark")
)
(define-function resource_error_quark
(c-name "gst_resource_error_quark")
(return-type "GQuark")
)
(define-function stream_error_quark
(c-name "gst_stream_error_quark")
(return-type "GQuark")
)
(define-function error_get_message
(c-name "gst_error_get_message")
(return-type "gchar*")
(parameters
'("GQuark" "domain")
'("gint" "code")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstevent.h
(define-function _gst_event_initialize
(c-name "_gst_event_initialize")
(return-type "none")
)
(define-function event_get_type
(c-name "gst_event_get_type")
(return-type "GType")
)
(define-function event_new
(c-name "gst_event_new")
(is-constructor-of "GstEvent")
(return-type "GstEvent*")
(parameters
'("GstEventType" "type")
)
)
(define-method s_contains
(of-object "GstEventMask")
(c-name "gst_event_masks_contains")
(return-type "gboolean")
(parameters
'("GstEventMask*" "mask")
)
)
(define-function event_new_seek
(c-name "gst_event_new_seek")
(return-type "GstEvent*")
(parameters
'("GstSeekType" "type")
'("gint64" "offset")
)
)
(define-function event_new_segment_seek
(c-name "gst_event_new_segment_seek")
(return-type "GstEvent*")
(parameters
'("GstSeekType" "type")
'("gint64" "start")
'("gint64" "stop")
)
)
(define-function event_new_size
(c-name "gst_event_new_size")
(return-type "GstEvent*")
(parameters
'("GstFormat" "format")
'("gint64" "value")
)
)
(define-function event_new_discontinuous
(c-name "gst_event_new_discontinuous")
(return-type "GstEvent*")
(parameters
'("gboolean" "new_media")
'("GstFormat" "format1")
)
(varargs #t)
)
(define-function event_new_discontinuous_valist
(c-name "gst_event_new_discontinuous_valist")
(return-type "GstEvent*")
(parameters
'("gboolean" "new_media")
'("GstFormat" "format1")
'("va_list" "var_args")
)
)
(define-method discont_get_value
(of-object "GstEvent")
(c-name "gst_event_discont_get_value")
(return-type "gboolean")
(parameters
'("GstFormat" "format")
'("gint64*" "value")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstfilter.h
(define-function filter_run
(c-name "gst_filter_run")
(return-type "GList*")
(parameters
'("const-GList*" "list")
'("GstFilterFunc" "func")
'("gboolean" "first")
'("gpointer" "user_data")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstformat.h
(define-function _gst_format_initialize
(c-name "_gst_format_initialize")
(return-type "none")
)
(define-function format_register
(c-name "gst_format_register")
(return-type "GstFormat")
(parameters
'("const-gchar*" "nick")
'("const-gchar*" "description")
)
)
(define-function format_get_by_nick
(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*")
)
(define-function format_get_definitions
(c-name "gst_format_get_definitions")
(return-type "const-GList*")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gst.h
(define-function init
(c-name "gst_init")
(return-type "none")
(parameters
'("int*" "argc")
'("char**[]" "argv")
)
)
(define-function init_check
(c-name "gst_init_check")
(return-type "gboolean")
(parameters
'("int*" "argc")
'("char**[]" "argv")
)
)
(define-function init_with_popt_table
(c-name "gst_init_with_popt_table")
(return-type "none")
(parameters
'("int*" "argc")
'("char**[]" "argv")
'("const-GstPoptOption*" "popt_options")
)
)
(define-function init_check_with_popt_table
(c-name "gst_init_check_with_popt_table")
(return-type "gboolean")
(parameters
'("int*" "argc")
'("char**[]" "argv")
'("const-GstPoptOption*" "popt_options")
)
)
(define-function init_get_popt_table
(c-name "gst_init_get_popt_table")
(return-type "const-GstPoptOption*")
)
(define-function use_threads
(c-name "gst_use_threads")
(return-type "none")
(parameters
'("gboolean" "use_threads")
)
)
(define-function has_threads
(c-name "gst_has_threads")
(return-type "gboolean")
)
(define-function main
(c-name "gst_main")
(return-type "none")
)
(define-function main_quit
(c-name "gst_main_quit")
(return-type "none")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstindex.h
(define-function index_get_type
(c-name "gst_index_get_type")
(return-type "GType")
)
(define-function index_new
(c-name "gst_index_new")
(is-constructor-of "GstIndex")
(return-type "GstIndex*")
)
(define-method commit
(of-object "GstIndex")
(c-name "gst_index_commit")
(return-type "none")
(parameters
'("gint" "id")
)
)
(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")
)
)
(define-method set_resolver
(of-object "GstIndex")
(c-name "gst_index_set_resolver")
(return-type "none")
(parameters
'("GstIndexResolver" "resolver")
'("gpointer" "user_data")
)
)
(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")
)
)
(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")
)
)
(define-function index_entry_get_type
(c-name "gst_index_entry_get_type")
(return-type "GType")
)
(define-method copy
(of-object "GstIndexEntry")
(c-name "gst_index_entry_copy")
(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")
)
)
(define-function index_factory_get_type
(c-name "gst_index_factory_get_type")
(return-type "GType")
)
(define-function index_factory_new
(c-name "gst_index_factory_new")
(is-constructor-of "GstIndexFactory")
(return-type "GstIndexFactory*")
(parameters
'("const-gchar*" "name")
'("const-gchar*" "longdesc")
'("GType" "type")
)
)
(define-method destroy
(of-object "GstIndexFactory")
(c-name "gst_index_factory_destroy")
(return-type "none")
)
(define-function index_factory_find
(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*")
)
(define-function index_factory_make
(c-name "gst_index_factory_make")
(return-type "GstIndex*")
(parameters
'("const-gchar*" "name")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstinfo.h
(define-function _gst_debug_init
(c-name "_gst_debug_init")
(return-type "none")
)
(define-function debug_log
(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)
)
(define-function debug_log_valist
(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*")
)
(define-function debug_log_default
(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*")
)
(define-function debug_add_log_function
(c-name "gst_debug_add_log_function")
(return-type "none")
(parameters
'("GstLogFunction" "func")
'("gpointer" "data")
)
)
(define-function debug_remove_log_function
(c-name "gst_debug_remove_log_function")
(return-type "guint")
(parameters
'("GstLogFunction" "func")
)
)
(define-function debug_remove_log_function_by_data
(c-name "gst_debug_remove_log_function_by_data")
(return-type "guint")
(parameters
'("gpointer" "data")
)
)
(define-function debug_set_active
(c-name "gst_debug_set_active")
(return-type "none")
(parameters
'("gboolean" "active")
)
)
(define-function debug_is_active
(c-name "gst_debug_is_active")
(return-type "gboolean")
)
(define-function debug_set_colored
(c-name "gst_debug_set_colored")
(return-type "none")
(parameters
'("gboolean" "colored")
)
)
(define-function debug_is_colored
(c-name "gst_debug_is_colored")
(return-type "gboolean")
)
(define-function debug_set_default_threshold
(c-name "gst_debug_set_default_threshold")
(return-type "none")
(parameters
'("GstDebugLevel" "level")
)
)
(define-function debug_get_default_threshold
(c-name "gst_debug_get_default_threshold")
(return-type "GstDebugLevel")
)
(define-function debug_set_threshold_for_name
(c-name "gst_debug_set_threshold_for_name")
(return-type "none")
(parameters
'("const-gchar*" "name")
'("GstDebugLevel" "level")
)
)
(define-function debug_unset_threshold_for_name
(c-name "gst_debug_unset_threshold_for_name")
(return-type "none")
(parameters
'("const-gchar*" "name")
)
)
(define-function _gst_debug_category_new
(c-name "_gst_debug_category_new")
(is-constructor-of "GstDebugCategory")
(return-type "GstDebugCategory*")
(parameters
'("gchar*" "name")
'("guint" "color")
'("gchar*" "description")
)
)
(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*")
)
(define-function debug_get_all_categories
(c-name "gst_debug_get_all_categories")
(return-type "GSList*")
)
(define-function debug_construct_term_color
(c-name "gst_debug_construct_term_color")
(return-type "gchar*")
(parameters
'("guint" "colorinfo")
)
)
(define-function _gst_debug_register_funcptr
(c-name "_gst_debug_register_funcptr")
(return-type "void*")
(parameters
'("void*" "ptr")
'("gchar*" "ptrname")
)
)
(define-function _gst_debug_nameof_funcptr
(c-name "_gst_debug_nameof_funcptr")
(return-type "const-gchar*")
(parameters
'("void*" "ptr")
)
)
(define-function debug_print_stack_trace
(c-name "gst_debug_print_stack_trace")
(return-type "none")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstinterface.h
(define-function implements_interface_get_type
(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")
)
)
(define-function implements_interface_cast
(c-name "gst_implements_interface_cast")
(return-type "gpointer")
(parameters
'("gpointer" "from")
'("GType" "type")
)
)
(define-function implements_interface_check
(c-name "gst_implements_interface_check")
(return-type "gboolean")
(parameters
'("gpointer" "from")
'("GType" "type")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstlog.h
;; From /opt/gnome/include/gstreamer-0.7/gst/gstmacros.h
;; From /opt/gnome/include/gstreamer-0.7/gst/gstmarshal.h
;; From /opt/gnome/include/gstreamer-0.7/gst/gstmemchunk.h
(define-function mem_chunk_new
(c-name "gst_mem_chunk_new")
(is-constructor-of "GstMemChunk")
(return-type "GstMemChunk*")
(parameters
'("gchar*" "name")
'("gint" "atom_size")
'("gulong" "area_size")
'("gint" "type")
)
)
(define-method destroy
(of-object "GstMemChunk")
(c-name "gst_mem_chunk_destroy")
(return-type "none")
)
(define-method alloc
(of-object "GstMemChunk")
(c-name "gst_mem_chunk_alloc")
(return-type "gpointer")
)
(define-method alloc0
(of-object "GstMemChunk")
(c-name "gst_mem_chunk_alloc0")
(return-type "gpointer")
)
(define-method free
(of-object "GstMemChunk")
(c-name "gst_mem_chunk_free")
(return-type "none")
(parameters
'("gpointer" "mem")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstobject.h
(define-function object_get_type
(c-name "gst_object_get_type")
(return-type "GType")
)
(define-method set_name
(of-object "GstObject")
(c-name "gst_object_set_name")
(return-type "none")
(parameters
'("const-gchar*" "name")
)
)
(define-method get_name
(of-object "GstObject")
(c-name "gst_object_get_name")
(return-type "const-gchar*")
)
(define-method set_parent
(of-object "GstObject")
(c-name "gst_object_set_parent")
(return-type "none")
(parameters
'("GstObject*" "parent")
)
)
(define-method get_parent
(of-object "GstObject")
(c-name "gst_object_get_parent")
(return-type "GstObject*")
)
(define-method unparent
(of-object "GstObject")
(c-name "gst_object_unparent")
(return-type "none")
)
(define-function object_default_deep_notify
(c-name "gst_object_default_deep_notify")
(return-type "none")
(parameters
'("GObject*" "object")
'("GstObject*" "orig")
'("GParamSpec*" "pspec")
'("gchar**" "excluded_props")
)
)
(define-function object_check_uniqueness
(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")
(return-type "xmlNodePtr")
(parameters
'("xmlNodePtr" "parent")
)
)
(define-method restore_thyself
(of-object "GstObject")
(c-name "gst_object_restore_thyself")
(return-type "none")
(parameters
'("xmlNodePtr" "self")
)
)
(define-method ref
(of-object "GstObject")
(c-name "gst_object_ref")
(return-type "GstObject*")
)
(define-method unref
(of-object "GstObject")
(c-name "gst_object_unref")
(return-type "none")
)
(define-method sink
(of-object "GstObject")
(c-name "gst_object_sink")
(return-type "none")
)
(define-function object_replace
(c-name "gst_object_replace")
(return-type "none")
(parameters
'("GstObject**" "oldobj")
'("GstObject*" "newobj")
)
)
(define-method get_path_string
(of-object "GstObject")
(c-name "gst_object_get_path_string")
(return-type "gchar*")
)
(define-function class_signal_connect
(c-name "gst_class_signal_connect")
(return-type "guint")
(parameters
'("GstObjectClass*" "klass")
'("const-gchar*" "name")
'("gpointer" "func")
'("gpointer" "func_data")
)
)
(define-function class_signal_emit_by_name
(c-name "gst_class_signal_emit_by_name")
(return-type "none")
(parameters
'("GstObject*" "object")
'("const-gchar*" "name")
'("xmlNodePtr" "self")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstpad.h
(define-function pad_get_type
(c-name "gst_pad_get_type")
(return-type "GType")
)
(define-function real_pad_get_type
(c-name "gst_real_pad_get_type")
(return-type "GType")
)
(define-function ghost_pad_get_type
(c-name "gst_ghost_pad_get_type")
(return-type "GType")
)
(define-function pad_new
(c-name "gst_pad_new")
(is-constructor-of "GstPad")
(return-type "GstPad*")
(parameters
'("const-gchar*" "name")
'("GstPadDirection" "direction")
)
)
(define-function pad_new_from_template
(c-name "gst_pad_new_from_template")
(return-type "GstPad*")
(parameters
'("GstPadTemplate*" "templ")
'("const-gchar*" "name")
)
)
(define-function pad_custom_new
(c-name "gst_pad_custom_new")
(is-constructor-of "GstPadCustom")
(return-type "GstPad*")
(parameters
'("GType" "type")
'("const-gchar*" "name")
'("GstPadDirection" "direction")
)
)
(define-function pad_custom_new_from_template
(c-name "gst_pad_custom_new_from_template")
(return-type "GstPad*")
(parameters
'("GType" "type")
'("GstPadTemplate*" "templ")
'("const-gchar*" "name")
)
)
(define-method set_name
(of-object "GstPad")
(c-name "gst_pad_set_name")
(return-type "none")
(parameters
'("const-gchar*" "name")
)
)
(define-method get_name
(of-object "GstPad")
(c-name "gst_pad_get_name")
(return-type "const-gchar*")
)
(define-method get_direction
(of-object "GstPad")
(c-name "gst_pad_get_direction")
(return-type "GstPadDirection")
)
(define-method set_active
(of-object "GstPad")
(c-name "gst_pad_set_active")
(return-type "none")
(parameters
'("gboolean" "active")
)
)
(define-method is_active
(of-object "GstPad")
(c-name "gst_pad_is_active")
(return-type "gboolean")
)
(define-method set_element_private
(of-object "GstPad")
(c-name "gst_pad_set_element_private")
(return-type "none")
(parameters
'("gpointer" "priv")
)
)
(define-method get_element_private
(of-object "GstPad")
(c-name "gst_pad_get_element_private")
(return-type "gpointer")
)
(define-method set_parent
(of-object "GstPad")
(c-name "gst_pad_set_parent")
(return-type "none")
(parameters
'("GstElement*" "parent")
)
)
(define-method get_parent
(of-object "GstPad")
(c-name "gst_pad_get_parent")
(return-type "GstElement*")
)
(define-method get_real_parent
(of-object "GstPad")
(c-name "gst_pad_get_real_parent")
(return-type "GstElement*")
)
(define-method get_scheduler
(of-object "GstPad")
(c-name "gst_pad_get_scheduler")
(return-type "GstScheduler*")
)
(define-method add_ghost_pad
(of-object "GstPad")
(c-name "gst_pad_add_ghost_pad")
(return-type "none")
(parameters
'("GstPad*" "ghostpad")
)
)
(define-method remove_ghost_pad
(of-object "GstPad")
(c-name "gst_pad_remove_ghost_pad")
(return-type "none")
(parameters
'("GstPad*" "ghostpad")
)
)
(define-method get_ghost_pad_list
(of-object "GstPad")
(c-name "gst_pad_get_ghost_pad_list")
(return-type "GList*")
)
(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
'("GstPadBufferAllocFunction" "bufferalloc")
)
)
(define-method alloc_buffer
(of-object "GstPad")
(c-name "gst_pad_alloc_buffer")
(return-type "GstBuffer*")
(parameters
'("guint64" "offset")
'("gint" "size")
)
)
(define-method set_chain_function
(of-object "GstPad")
(c-name "gst_pad_set_chain_function")
(return-type "none")
(parameters
'("GstPadChainFunction" "chain")
)
)
(define-method set_get_function
(of-object "GstPad")
(c-name "gst_pad_set_get_function")
(return-type "none")
(parameters
'("GstPadGetFunction" "get")
)
)
(define-method set_event_function
(of-object "GstPad")
(c-name "gst_pad_set_event_function")
(return-type "none")
(parameters
'("GstPadEventFunction" "event")
)
)
(define-method set_event_mask_function
(of-object "GstPad")
(c-name "gst_pad_set_event_mask_function")
(return-type "none")
(parameters
'("GstPadEventMaskFunction" "mask_func")
)
)
(define-method get_event_masks
(of-object "GstPad")
(c-name "gst_pad_get_event_masks")
(return-type "const-GstEventMask*")
)
(define-method get_event_masks_default
(of-object "GstPad")
(c-name "gst_pad_get_event_masks_default")
(return-type "const-GstEventMask*")
)
(define-method set_link_function
(of-object "GstPad")
(c-name "gst_pad_set_link_function")
(return-type "none")
(parameters
'("GstPadLinkFunction" "link")
)
)
(define-method can_link
(of-object "GstPad")
(c-name "gst_pad_can_link")
(return-type "gboolean")
(parameters
'("GstPad*" "sinkpad")
)
)
(define-method can_link_filtered
(of-object "GstPad")
(c-name "gst_pad_can_link_filtered")
(return-type "gboolean")
(parameters
'("GstPad*" "sinkpad")
'("const-GstCaps*" "filtercaps")
)
)
(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")
(return-type "gboolean")
(parameters
'("GstPad*" "sinkpad")
)
)
(define-method link_filtered
(of-object "GstPad")
(c-name "gst_pad_link_filtered")
(return-type "gboolean")
(parameters
'("GstPad*" "sinkpad")
'("const-GstCaps*" "filtercaps")
)
)
(define-method unlink
(of-object "GstPad")
(c-name "gst_pad_unlink")
(return-type "none")
(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*")
)
(define-method get_negotiated_caps
(of-object "GstPad")
(c-name "gst_pad_get_negotiated_caps")
(return-type "const-GstCaps*")
)
(define-method is_negotiated
(of-object "GstPad")
(c-name "gst_pad_is_negotiated")
(return-type "gboolean")
)
(define-method get_caps
(of-object "GstPad")
(c-name "gst_pad_get_caps")
(return-type "GstCaps*")
)
(define-method get_pad_template_caps
(of-object "GstPad")
(c-name "gst_pad_get_pad_template_caps")
(return-type "const-GstCaps*")
)
(define-method try_set_caps
(of-object "GstPad")
(c-name "gst_pad_try_set_caps")
(return-type "GstPadLinkReturn")
(parameters
'("const-GstCaps*" "caps")
)
)
(define-method try_set_caps_nonfixed
(of-object "GstPad")
(c-name "gst_pad_try_set_caps_nonfixed")
(return-type "GstPadLinkReturn")
(parameters
'("const-GstCaps*" "caps")
)
)
(define-method check_compatibility
(of-object "GstPad")
(c-name "gst_pad_check_compatibility")
(return-type "gboolean")
(parameters
'("GstPad*" "sinkpad")
)
)
(define-method set_getcaps_function
(of-object "GstPad")
(c-name "gst_pad_set_getcaps_function")
(return-type "none")
(parameters
'("GstPadGetCapsFunction" "getcaps")
)
)
(define-method set_fixate_function
(of-object "GstPad")
(c-name "gst_pad_set_fixate_function")
(return-type "none")
(parameters
'("GstPadFixateFunction" "fixate")
)
)
(define-method proxy_getcaps
(of-object "GstPad")
(c-name "gst_pad_proxy_getcaps")
(return-type "GstCaps*")
)
(define-method proxy_pad_link
(of-object "GstPad")
(c-name "gst_pad_proxy_pad_link")
(return-type "GstPadLinkReturn")
(parameters
'("const-GstCaps*" "caps")
)
)
(define-method proxy_fixate
(of-object "GstPad")
(c-name "gst_pad_proxy_fixate")
(return-type "GstCaps*")
(parameters
'("const-GstCaps*" "caps")
)
)
(define-method proxy_link
(of-object "GstPad")
(c-name "gst_pad_proxy_link")
(return-type "GstPadLinkReturn")
(parameters
'("const-GstCaps*" "caps")
)
)
(define-method set_explicit_caps
(of-object "GstPad")
(c-name "gst_pad_set_explicit_caps")
(return-type "gboolean")
(parameters
'("const-GstCaps*" "caps")
)
)
(define-method use_explicit_caps
(of-object "GstPad")
(c-name "gst_pad_use_explicit_caps")
(return-type "none")
)
(define-method relink_filtered
(of-object "GstPad")
(c-name "gst_pad_relink_filtered")
(return-type "gboolean")
(parameters
'("GstPad*" "sinkpad")
'("const-GstCaps*" "filtercaps")
)
)
(define-method perform_negotiate
(of-object "GstPad")
(c-name "gst_pad_perform_negotiate")
(return-type "gboolean")
(parameters
'("GstPad*" "sinkpad")
)
)
(define-method renegotiate
(of-object "GstPad")
(c-name "gst_pad_renegotiate")
(return-type "GstPadLinkReturn")
)
(define-method unnegotiate
(of-object "GstPad")
(c-name "gst_pad_unnegotiate")
(return-type "none")
)
(define-method try_relink_filtered
(of-object "GstPad")
(c-name "gst_pad_try_relink_filtered")
(return-type "gboolean")
(parameters
'("GstPad*" "sinkpad")
'("const-GstCaps*" "filtercaps")
)
)
(define-method get_allowed_caps
(of-object "GstPad")
(c-name "gst_pad_get_allowed_caps")
(return-type "GstCaps*")
)
(define-method caps_change_notify
(of-object "GstPad")
(c-name "gst_pad_caps_change_notify")
(return-type "none")
)
(define-method recover_caps_error
(of-object "GstPad")
(c-name "gst_pad_recover_caps_error")
(return-type "gboolean")
(parameters
'("const-GstCaps*" "allowed")
)
)
(define-method push
(of-object "GstPad")
(c-name "gst_pad_push")
(return-type "none")
(parameters
'("GstData*" "data")
)
)
(define-method pull
(of-object "GstPad")
(c-name "gst_pad_pull")
(return-type "GstData*")
)
(define-method send_event
(of-object "GstPad")
(c-name "gst_pad_send_event")
(return-type "gboolean")
(parameters
'("GstEvent*" "event")
)
)
(define-method event_default
(of-object "GstPad")
(c-name "gst_pad_event_default")
(return-type "gboolean")
(parameters
'("GstEvent*" "event")
)
)
(define-function pad_selectv
(c-name "gst_pad_selectv")
(return-type "GstPad*")
(parameters
'("GList*" "padlist")
)
)
(define-method select
(of-object "GstPad")
(c-name "gst_pad_select")
(return-type "GstPad*")
(parameters
)
(varargs #t)
)
(define-method select_valist
(of-object "GstPad")
(c-name "gst_pad_select_valist")
(return-type "GstPad*")
(parameters
'("va_list" "varargs")
)
)
(define-method set_formats_function
(of-object "GstPad")
(c-name "gst_pad_set_formats_function")
(return-type "none")
(parameters
'("GstPadFormatsFunction" "formats")
)
)
(define-method get_formats
(of-object "GstPad")
(c-name "gst_pad_get_formats")
(return-type "const-GstFormat*")
)
(define-method get_formats_default
(of-object "GstPad")
(c-name "gst_pad_get_formats_default")
(return-type "const-GstFormat*")
)
(define-method set_convert_function
(of-object "GstPad")
(c-name "gst_pad_set_convert_function")
(return-type "none")
(parameters
'("GstPadConvertFunction" "convert")
)
)
(define-method convert
(of-object "GstPad")
(c-name "gst_pad_convert")
(return-type "gboolean")
(parameters
'("GstFormat" "src_format")
'("gint64" "src_value")
'("GstFormat*" "dest_format")
'("gint64*" "dest_value")
)
)
(define-method convert_default
(of-object "GstPad")
(c-name "gst_pad_convert_default")
(return-type "gboolean")
(parameters
'("GstFormat" "src_format")
'("gint64" "src_value")
'("GstFormat*" "dest_format")
'("gint64*" "dest_value")
)
)
(define-method set_query_function
(of-object "GstPad")
(c-name "gst_pad_set_query_function")
(return-type "none")
(parameters
'("GstPadQueryFunction" "query")
)
)
(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
'("GstQueryType" "type")
'("GstFormat*" "format")
'("gint64*" "value")
)
)
(define-method query_default
(of-object "GstPad")
(c-name "gst_pad_query_default")
(return-type "gboolean")
(parameters
'("GstQueryType" "type")
'("GstFormat*" "format")
'("gint64*" "value")
)
)
(define-method set_internal_link_function
(of-object "GstPad")
(c-name "gst_pad_set_internal_link_function")
(return-type "none")
(parameters
'("GstPadIntLinkFunction" "intlink")
)
)
(define-method get_internal_links
(of-object "GstPad")
(c-name "gst_pad_get_internal_links")
(return-type "GList*")
)
(define-method get_internal_links_default
(of-object "GstPad")
(c-name "gst_pad_get_internal_links_default")
(return-type "GList*")
)
(define-method dispatcher
(of-object "GstPad")
(c-name "gst_pad_dispatcher")
(return-type "gboolean")
(parameters
'("GstPadDispatcherFunction" "dispatch")
'("gpointer" "data")
)
)
(define-function pad_load_and_link
(c-name "gst_pad_load_and_link")
(return-type "none")
(parameters
'("xmlNodePtr" "self")
'("GstObject*" "parent")
)
)
(define-function ghost_pad_new
(c-name "gst_ghost_pad_new")
(is-constructor-of "GstGhostPad")
(return-type "GstPad*")
(parameters
'("const-gchar*" "name")
'("GstPad*" "pad")
)
)
(define-function pad_template_get_type
(c-name "gst_pad_template_get_type")
(return-type "GType")
)
(define-function pad_template_new
(c-name "gst_pad_template_new")
(is-constructor-of "GstPadTemplate")
(return-type "GstPadTemplate*")
(parameters
'("const-gchar*" "name_template")
'("GstPadDirection" "direction")
'("GstPadPresence" "presence")
'("GstCaps*" "caps")
)
)
(define-method get
(of-object "GstStaticPadTemplate")
(c-name "gst_static_pad_template_get")
(return-type "GstPadTemplate*")
)
(define-method get_caps
(of-object "GstPadTemplate")
(c-name "gst_pad_template_get_caps")
(return-type "const-GstCaps*")
)
(define-method get_caps_by_name
(of-object "GstPadTemplate")
(c-name "gst_pad_template_get_caps_by_name")
(return-type "const-GstCaps*")
(parameters
'("const-gchar*" "name")
)
)
(define-function ghost_pad_save_thyself
(c-name "gst_ghost_pad_save_thyself")
(return-type "xmlNodePtr")
(parameters
'("GstPad*" "pad")
'("xmlNodePtr" "parent")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstparse.h
(define-function parse_error_quark
(c-name "gst_parse_error_quark")
(return-type "GQuark")
)
(define-function parse_launch
(c-name "gst_parse_launch")
(return-type "GstElement*")
(parameters
'("const-gchar*" "pipeline_description")
'("GError**" "error")
)
)
(define-function parse_launchv
(c-name "gst_parse_launchv")
(return-type "GstElement*")
(parameters
'("const-gchar**" "argv")
'("GError**" "error")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstpipeline.h
(define-function pipeline_get_type
(c-name "gst_pipeline_get_type")
(return-type "GType")
)
(define-function pipeline_new
(c-name "gst_pipeline_new")
(is-constructor-of "GstPipeline")
(return-type "GstElement*")
(parameters
'("const-gchar*" "name")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstpluginfeature.h
(define-function plugin_feature_get_type
(c-name "gst_plugin_feature_get_type")
(return-type "GType")
)
(define-method ensure_loaded
(of-object "GstPluginFeature")
(c-name "gst_plugin_feature_ensure_loaded")
(return-type "gboolean")
)
(define-method unload_thyself
(of-object "GstPluginFeature")
(c-name "gst_plugin_feature_unload_thyself")
(return-type "none")
)
(define-method type_name_filter
(of-object "GstPluginFeature")
(c-name "gst_plugin_feature_type_name_filter")
(return-type "gboolean")
(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")
(parameters
'("const-gchar*" "name")
)
)
(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*")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstplugin.h
(define-function plugin_error_quark
(c-name "gst_plugin_error_quark")
(return-type "GQuark")
)
(define-function plugin_get_type
(c-name "gst_plugin_get_type")
(return-type "GType")
)
(define-function _gst_plugin_initialize
(c-name "_gst_plugin_initialize")
(return-type "none")
)
(define-function _gst_plugin_register_static
(c-name "_gst_plugin_register_static")
(return-type "none")
(parameters
'("GstPluginDesc*" "desc")
)
)
(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*")
)
(define-method get_license
(of-object "GstPlugin")
(c-name "gst_plugin_get_license")
(return-type "const-gchar*")
)
(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*")
)
(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 feature_filter
(of-object "GstPlugin")
(c-name "gst_plugin_feature_filter")
(return-type "GList*")
(parameters
'("GstPluginFeatureFilter" "filter")
'("gboolean" "first")
'("gpointer" "user_data")
)
)
(define-function plugin_list_feature_filter
(c-name "gst_plugin_list_feature_filter")
(return-type "GList*")
(parameters
'("GList*" "list")
'("GstPluginFeatureFilter" "filter")
'("gboolean" "first")
'("gpointer" "user_data")
)
)
(define-method name_filter
(of-object "GstPlugin")
(c-name "gst_plugin_name_filter")
(return-type "gboolean")
(parameters
'("const-gchar*" "name")
)
)
(define-method get_feature_list
(of-object "GstPlugin")
(c-name "gst_plugin_get_feature_list")
(return-type "GList*")
)
(define-method find_feature
(of-object "GstPlugin")
(c-name "gst_plugin_find_feature")
(return-type "GstPluginFeature*")
(parameters
'("const-gchar*" "name")
'("GType" "type")
)
)
(define-function plugin_load_file
(c-name "gst_plugin_load_file")
(return-type "GstPlugin*")
(parameters
'("const-gchar*" "filename")
'("GError**" "error")
)
)
(define-method unload_plugin
(of-object "GstPlugin")
(c-name "gst_plugin_unload_plugin")
(return-type "gboolean")
)
(define-method add_feature
(of-object "GstPlugin")
(c-name "gst_plugin_add_feature")
(return-type "none")
(parameters
'("GstPluginFeature*" "feature")
)
)
(define-function plugin_load
(c-name "gst_plugin_load")
(return-type "gboolean")
(parameters
'("const-gchar*" "name")
)
)
(define-function library_load
(c-name "gst_library_load")
(return-type "gboolean")
(parameters
'("const-gchar*" "name")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstprobe.h
(define-function probe_new
(c-name "gst_probe_new")
(is-constructor-of "GstProbe")
(return-type "GstProbe*")
(parameters
'("gboolean" "single_shot")
'("GstProbeCallback" "callback")
'("gpointer" "user_data")
)
)
(define-method destroy
(of-object "GstProbe")
(c-name "gst_probe_destroy")
(return-type "none")
)
(define-method perform
(of-object "GstProbe")
(c-name "gst_probe_perform")
(return-type "gboolean")
(parameters
'("GstData**" "data")
)
)
(define-function probe_dispatcher_new
(c-name "gst_probe_dispatcher_new")
(is-constructor-of "GstProbeDispatcher")
(return-type "GstProbeDispatcher*")
)
(define-method destroy
(of-object "GstProbeDispatcher")
(c-name "gst_probe_dispatcher_destroy")
(return-type "none")
)
(define-method init
(of-object "GstProbeDispatcher")
(c-name "gst_probe_dispatcher_init")
(return-type "none")
)
(define-method set_active
(of-object "GstProbeDispatcher")
(c-name "gst_probe_dispatcher_set_active")
(return-type "none")
(parameters
'("gboolean" "active")
)
)
(define-method add_probe
(of-object "GstProbeDispatcher")
(c-name "gst_probe_dispatcher_add_probe")
(return-type "none")
(parameters
'("GstProbe*" "probe")
)
)
(define-method remove_probe
(of-object "GstProbeDispatcher")
(c-name "gst_probe_dispatcher_remove_probe")
(return-type "none")
(parameters
'("GstProbe*" "probe")
)
)
(define-method dispatch
(of-object "GstProbeDispatcher")
(c-name "gst_probe_dispatcher_dispatch")
(return-type "gboolean")
(parameters
'("GstData**" "data")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstquery.h
(define-function _gst_query_type_initialize
(c-name "_gst_query_type_initialize")
(return-type "none")
)
(define-function query_type_register
(c-name "gst_query_type_register")
(return-type "GstQueryType")
(parameters
'("const-gchar*" "nick")
'("const-gchar*" "description")
)
)
(define-function query_type_get_by_nick
(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*")
)
(define-function query_type_get_definitions
(c-name "gst_query_type_get_definitions")
(return-type "const-GList*")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstqueue.h
(define-function queue_get_type
(c-name "gst_queue_get_type")
(return-type "GType")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstregistry.h
(define-function registry_get_type
(c-name "gst_registry_get_type")
(return-type "GType")
)
(define-method load
(of-object "GstRegistry")
(c-name "gst_registry_load")
(return-type "gboolean")
)
(define-method is_loaded
(of-object "GstRegistry")
(c-name "gst_registry_is_loaded")
(return-type "gboolean")
)
(define-method save
(of-object "GstRegistry")
(c-name "gst_registry_save")
(return-type "gboolean")
)
(define-method rebuild
(of-object "GstRegistry")
(c-name "gst_registry_rebuild")
(return-type "gboolean")
)
(define-method unload
(of-object "GstRegistry")
(c-name "gst_registry_unload")
(return-type "gboolean")
)
(define-method add_path
(of-object "GstRegistry")
(c-name "gst_registry_add_path")
(return-type "none")
(parameters
'("const-gchar*" "path")
)
)
(define-method get_path_list
(of-object "GstRegistry")
(c-name "gst_registry_get_path_list")
(return-type "GList*")
)
(define-method clear_paths
(of-object "GstRegistry")
(c-name "gst_registry_clear_paths")
(return-type "none")
)
(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")
)
)
(define-method plugin_filter
(of-object "GstRegistry")
(c-name "gst_registry_plugin_filter")
(return-type "GList*")
(parameters
'("GstPluginFilter" "filter")
'("gboolean" "first")
'("gpointer" "user_data")
)
)
(define-method feature_filter
(of-object "GstRegistry")
(c-name "gst_registry_feature_filter")
(return-type "GList*")
(parameters
'("GstPluginFeatureFilter" "filter")
'("gboolean" "first")
'("gpointer" "user_data")
)
)
(define-method find_plugin
(of-object "GstRegistry")
(c-name "gst_registry_find_plugin")
(return-type "GstPlugin*")
(parameters
'("const-gchar*" "name")
)
)
(define-method find_feature
(of-object "GstRegistry")
(c-name "gst_registry_find_feature")
(return-type "GstPluginFeature*")
(parameters
'("const-gchar*" "name")
'("GType" "type")
)
)
(define-method load_plugin
(of-object "GstRegistry")
(c-name "gst_registry_load_plugin")
(return-type "GstRegistryReturn")
(parameters
'("GstPlugin*" "plugin")
)
)
(define-method unload_plugin
(of-object "GstRegistry")
(c-name "gst_registry_unload_plugin")
(return-type "GstRegistryReturn")
(parameters
'("GstPlugin*" "plugin")
)
)
(define-method update_plugin
(of-object "GstRegistry")
(c-name "gst_registry_update_plugin")
(return-type "GstRegistryReturn")
(parameters
'("GstPlugin*" "plugin")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstregistrypool.h
(define-function registry_pool_list
(c-name "gst_registry_pool_list")
(return-type "GList*")
)
(define-method pool_add
(of-object "GstRegistry")
(c-name "gst_registry_pool_add")
(return-type "none")
(parameters
'("guint" "priority")
)
)
(define-method pool_remove
(of-object "GstRegistry")
(c-name "gst_registry_pool_remove")
(return-type "none")
)
(define-function registry_pool_add_plugin
(c-name "gst_registry_pool_add_plugin")
(return-type "none")
(parameters
'("GstPlugin*" "plugin")
)
)
(define-function registry_pool_load_all
(c-name "gst_registry_pool_load_all")
(return-type "none")
)
(define-function registry_pool_plugin_filter
(c-name "gst_registry_pool_plugin_filter")
(return-type "GList*")
(parameters
'("GstPluginFilter" "filter")
'("gboolean" "first")
'("gpointer" "user_data")
)
)
(define-function registry_pool_feature_filter
(c-name "gst_registry_pool_feature_filter")
(return-type "GList*")
(parameters
'("GstPluginFeatureFilter" "filter")
'("gboolean" "first")
'("gpointer" "user_data")
)
)
(define-function registry_pool_plugin_list
(c-name "gst_registry_pool_plugin_list")
(return-type "GList*")
)
(define-function registry_pool_feature_list
(c-name "gst_registry_pool_feature_list")
(return-type "GList*")
(parameters
'("GType" "type")
)
)
(define-function registry_pool_find_plugin
(c-name "gst_registry_pool_find_plugin")
(return-type "GstPlugin*")
(parameters
'("const-gchar*" "name")
)
)
(define-function registry_pool_find_feature
(c-name "gst_registry_pool_find_feature")
(return-type "GstPluginFeature*")
(parameters
'("const-gchar*" "name")
'("GType" "type")
)
)
(define-function registry_pool_get_prefered
(c-name "gst_registry_pool_get_prefered")
(return-type "GstRegistry*")
(parameters
'("GstRegistryFlags" "flags")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstscheduler.h
(define-function scheduler_get_type
(c-name "gst_scheduler_get_type")
(return-type "GType")
)
(define-method setup
(of-object "GstScheduler")
(c-name "gst_scheduler_setup")
(return-type "none")
)
(define-method reset
(of-object "GstScheduler")
(c-name "gst_scheduler_reset")
(return-type "none")
)
(define-method add_element
(of-object "GstScheduler")
(c-name "gst_scheduler_add_element")
(return-type "none")
(parameters
'("GstElement*" "element")
)
)
(define-method remove_element
(of-object "GstScheduler")
(c-name "gst_scheduler_remove_element")
(return-type "none")
(parameters
'("GstElement*" "element")
)
)
(define-method add_scheduler
(of-object "GstScheduler")
(c-name "gst_scheduler_add_scheduler")
(return-type "none")
(parameters
'("GstScheduler*" "sched2")
)
)
(define-method remove_scheduler
(of-object "GstScheduler")
(c-name "gst_scheduler_remove_scheduler")
(return-type "none")
(parameters
'("GstScheduler*" "sched2")
)
)
(define-method state_transition
(of-object "GstScheduler")
(c-name "gst_scheduler_state_transition")
(return-type "GstElementStateReturn")
(parameters
'("GstElement*" "element")
'("gint" "transition")
)
)
(define-method scheduling_change
(of-object "GstScheduler")
(c-name "gst_scheduler_scheduling_change")
(return-type "none")
(parameters
'("GstElement*" "element")
)
)
(define-method lock_element
(of-object "GstScheduler")
(c-name "gst_scheduler_lock_element")
(return-type "none")
(parameters
'("GstElement*" "element")
)
)
(define-method unlock_element
(of-object "GstScheduler")
(c-name "gst_scheduler_unlock_element")
(return-type "none")
(parameters
'("GstElement*" "element")
)
)
(define-method yield
(of-object "GstScheduler")
(c-name "gst_scheduler_yield")
(return-type "gboolean")
(parameters
'("GstElement*" "element")
)
)
(define-method interrupt
(of-object "GstScheduler")
(c-name "gst_scheduler_interrupt")
(return-type "gboolean")
(parameters
'("GstElement*" "element")
)
)
(define-method error
(of-object "GstScheduler")
(c-name "gst_scheduler_error")
(return-type "none")
(parameters
'("GstElement*" "element")
)
)
(define-method pad_link
(of-object "GstScheduler")
(c-name "gst_scheduler_pad_link")
(return-type "none")
(parameters
'("GstPad*" "srcpad")
'("GstPad*" "sinkpad")
)
)
(define-method pad_unlink
(of-object "GstScheduler")
(c-name "gst_scheduler_pad_unlink")
(return-type "none")
(parameters
'("GstPad*" "srcpad")
'("GstPad*" "sinkpad")
)
)
(define-method pad_select
(of-object "GstScheduler")
(c-name "gst_scheduler_pad_select")
(return-type "GstPad*")
(parameters
'("GList*" "padlist")
)
)
(define-method clock_wait
(of-object "GstScheduler")
(c-name "gst_scheduler_clock_wait")
(return-type "GstClockReturn")
(parameters
'("GstElement*" "element")
'("GstClockID" "id")
'("GstClockTimeDiff*" "jitter")
)
)
(define-method iterate
(of-object "GstScheduler")
(c-name "gst_scheduler_iterate")
(return-type "gboolean")
)
(define-method use_clock
(of-object "GstScheduler")
(c-name "gst_scheduler_use_clock")
(return-type "none")
(parameters
'("GstClock*" "clock")
)
)
(define-method set_clock
(of-object "GstScheduler")
(c-name "gst_scheduler_set_clock")
(return-type "none")
(parameters
'("GstClock*" "clock")
)
)
(define-method get_clock
(of-object "GstScheduler")
(c-name "gst_scheduler_get_clock")
(return-type "GstClock*")
)
(define-method auto_clock
(of-object "GstScheduler")
(c-name "gst_scheduler_auto_clock")
(return-type "none")
)
(define-method show
(of-object "GstScheduler")
(c-name "gst_scheduler_show")
(return-type "none")
)
(define-function scheduler_factory_get_type
(c-name "gst_scheduler_factory_get_type")
(return-type "GType")
)
(define-function scheduler_factory_new
(c-name "gst_scheduler_factory_new")
(is-constructor-of "GstSchedulerFactory")
(return-type "GstSchedulerFactory*")
(parameters
'("const-gchar*" "name")
'("const-gchar*" "longdesc")
'("GType" "type")
)
)
(define-method destroy
(of-object "GstSchedulerFactory")
(c-name "gst_scheduler_factory_destroy")
(return-type "none")
)
(define-function scheduler_factory_find
(c-name "gst_scheduler_factory_find")
(return-type "GstSchedulerFactory*")
(parameters
'("const-gchar*" "name")
)
)
(define-method create
(of-object "GstSchedulerFactory")
(c-name "gst_scheduler_factory_create")
(return-type "GstScheduler*")
(parameters
'("GstElement*" "parent")
)
)
(define-function scheduler_factory_make
(c-name "gst_scheduler_factory_make")
(return-type "GstScheduler*")
(parameters
'("const-gchar*" "name")
'("GstElement*" "parent")
)
)
(define-function scheduler_factory_set_default_name
(c-name "gst_scheduler_factory_set_default_name")
(return-type "none")
(parameters
'("const-gchar*" "name")
)
)
(define-function scheduler_factory_get_default_name
(c-name "gst_scheduler_factory_get_default_name")
(return-type "const-gchar*")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gststructure.h
(define-function structure_get_type
(c-name "gst_structure_get_type")
(return-type "GType")
)
(define-function _gst_structure_initialize
(c-name "_gst_structure_initialize")
(return-type "none")
)
(define-function structure_empty_new
(c-name "gst_structure_empty_new")
(is-constructor-of "GstStructureEmpty")
(return-type "GstStructure*")
(parameters
'("const-gchar*" "name")
)
)
(define-function structure_id_empty_new
(c-name "gst_structure_id_empty_new")
(is-constructor-of "GstStructureIdEmpty")
(return-type "GstStructure*")
(parameters
'("GQuark" "quark")
)
)
(define-function structure_new
(c-name "gst_structure_new")
(is-constructor-of "GstStructure")
(return-type "GstStructure*")
(parameters
'("const-gchar*" "name")
'("const-gchar*" "firstfield")
)
(varargs #t)
)
(define-function structure_new_valist
(c-name "gst_structure_new_valist")
(return-type "GstStructure*")
(parameters
'("const-gchar*" "name")
'("const-gchar*" "firstfield")
'("va_list" "varargs")
)
)
(define-method copy
(of-object "GstStructure")
(c-name "gst_structure_copy")
(return-type "GstStructure*")
)
(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*")
)
(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")
)
)
(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")
)
)
(define-method n_fields
(of-object "GstStructure")
(c-name "gst_structure_n_fields")
(return-type "gint")
)
(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")
)
)
(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")
)
)
(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")
)
)
(define-method get_string
(of-object "GstStructure")
(c-name "gst_structure_get_string")
(return-type "const-gchar*")
(parameters
'("const-gchar*" "fieldname")
)
)
(define-method to_string
(of-object "GstStructure")
(c-name "gst_structure_to_string")
(return-type "gchar*")
)
(define-function structure_from_string
(c-name "gst_structure_from_string")
(return-type "GstStructure*")
(parameters
'("const-gchar*" "string")
'("gchar**" "end")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstsystemclock.h
(define-function system_clock_get_type
(c-name "gst_system_clock_get_type")
(return-type "GType")
)
(define-function system_clock_obtain
(c-name "gst_system_clock_obtain")
(return-type "GstClock*")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gsttag.h
(define-function _gst_tag_initialize
(c-name "_gst_tag_initialize")
(return-type "none")
)
(define-function tag_list_get_type
(c-name "gst_tag_list_get_type")
(return-type "GType")
)
(define-function tag_register
(c-name "gst_tag_register")
(return-type "none")
(parameters
'("gchar*" "name")
'("GstTagFlag" "flag")
'("GType" "type")
'("gchar*" "nick")
'("gchar*" "blurb")
'("GstTagMergeFunc" "func")
)
)
(define-function tag_merge_use_first
(c-name "gst_tag_merge_use_first")
(return-type "none")
(parameters
'("GValue*" "dest")
'("const-GValue*" "src")
)
)
(define-function tag_merge_strings_with_comma
(c-name "gst_tag_merge_strings_with_comma")
(return-type "none")
(parameters
'("GValue*" "dest")
'("const-GValue*" "src")
)
)
(define-function tag_exists
(c-name "gst_tag_exists")
(return-type "gboolean")
(parameters
'("const-gchar*" "tag")
)
)
(define-function tag_get_type
(c-name "gst_tag_get_type")
(return-type "GType")
(parameters
'("const-gchar*" "tag")
)
)
(define-function tag_get_nick
(c-name "gst_tag_get_nick")
(return-type "const-gchar*")
(parameters
'("const-gchar*" "tag")
)
)
(define-function tag_get_description
(c-name "gst_tag_get_description")
(return-type "const-gchar*")
(parameters
'("const-gchar*" "tag")
)
)
(define-function tag_is_fixed
(c-name "gst_tag_is_fixed")
(return-type "gboolean")
(parameters
'("const-gchar*" "tag")
)
)
(define-function tag_list_new
(c-name "gst_tag_list_new")
(is-constructor-of "GstTagList")
(return-type "GstTagList*")
)
(define-function is_tag_list
(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*")
)
(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*")
(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")
)
)
(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")
)
)
(define-function tag_list_copy_value
(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")
)
)
(define-function event_new_tag
(c-name "gst_event_new_tag")
(return-type "GstEvent*")
(parameters
'("GstTagList*" "list")
)
)
(define-method tag_get_list
(of-object "GstEvent")
(c-name "gst_event_tag_get_list")
(return-type "GstTagList*")
)
; ;; Added python method
; (define-method keys
; (of-object "GstTagList")
; (c-name "pygst_tag_list_keys")
; )
; (define-method has_key
; (of-object "GstTagList")
; (c-name "pygst_tag_list_has_key")
; (parameters '("gchar*" "key"))
; )
; (define-method get
; (of-object "GstTagList")
; (c-name "pygst_tag_list_get")
; (parameters '("gchar*" "key"))
; )
;; From /opt/gnome/include/gstreamer-0.7/gst/gsttaginterface.h
(define-function tag_setter_get_type
(c-name "gst_tag_setter_get_type")
(return-type "GType")
)
(define-method merge
(of-object "GstTagSetter")
(c-name "gst_tag_setter_merge")
(return-type "none")
(parameters
'("const-GstTagList*" "list")
'("GstTagMergeMode" "mode")
)
)
(define-method add
(of-object "GstTagSetter")
(c-name "gst_tag_setter_add")
(return-type "none")
(parameters
'("GstTagMergeMode" "mode")
'("const-gchar*" "tag")
)
(varargs #t)
)
(define-method add_values
(of-object "GstTagSetter")
(c-name "gst_tag_setter_add_values")
(return-type "none")
(parameters
'("GstTagMergeMode" "mode")
'("const-gchar*" "tag")
)
(varargs #t)
)
(define-method add_valist
(of-object "GstTagSetter")
(c-name "gst_tag_setter_add_valist")
(return-type "none")
(parameters
'("GstTagMergeMode" "mode")
'("const-gchar*" "tag")
'("va_list" "var_args")
)
)
(define-method add_valist_values
(of-object "GstTagSetter")
(c-name "gst_tag_setter_add_valist_values")
(return-type "none")
(parameters
'("GstTagMergeMode" "mode")
'("const-gchar*" "tag")
'("va_list" "var_args")
)
)
(define-method get_list
(of-object "GstTagSetter")
(c-name "gst_tag_setter_get_list")
(return-type "const-GstTagList*")
)
(define-method set_merge_mode
(of-object "GstTagSetter")
(c-name "gst_tag_setter_set_merge_mode")
(return-type "none")
(parameters
'("GstTagMergeMode" "mode")
)
)
(define-method get_merge_mode
(of-object "GstTagSetter")
(c-name "gst_tag_setter_get_merge_mode")
(return-type "GstTagMergeMode")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstthread.h
(define-function thread_get_type
(c-name "gst_thread_get_type")
(return-type "GType")
)
(define-function thread_new
(c-name "gst_thread_new")
(is-constructor-of "GstThread")
(return-type "GstElement*")
(parameters
'("const-gchar*" "name")
)
)
(define-method set_priority
(of-object "GstThread")
(c-name "gst_thread_set_priority")
(return-type "none")
(parameters
'("GThreadPriority" "priority")
)
)
(define-function thread_get_current
(c-name "gst_thread_get_current")
(return-type "GstThread*")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gsttrace.h
(define-function trace_new
(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")
)
(define-method _add_entry
(of-object "GstTrace")
(c-name "_gst_trace_add_entry")
(return-type "none")
(parameters
'("guint32" "seq")
'("guint32" "data")
'("gchar*" "msg")
)
)
(define-function trace_read_tsc
(c-name "gst_trace_read_tsc")
(return-type "none")
(parameters
'("gint64*" "dst")
)
)
(define-function alloc_trace_available
(c-name "gst_alloc_trace_available")
(return-type "gboolean")
)
(define-function alloc_trace_list
(c-name "gst_alloc_trace_list")
(return-type "const-GList*")
)
(define-function _gst_alloc_trace_register
(c-name "_gst_alloc_trace_register")
(return-type "GstAllocTrace*")
(parameters
'("const-gchar*" "name")
)
)
(define-function alloc_trace_live_all
(c-name "gst_alloc_trace_live_all")
(return-type "int")
)
(define-function alloc_trace_print_all
(c-name "gst_alloc_trace_print_all")
(return-type "none")
)
(define-function alloc_trace_set_flags_all
(c-name "gst_alloc_trace_set_flags_all")
(return-type "none")
(parameters
'("GstAllocTraceFlags" "flags")
)
)
(define-function alloc_trace_get
(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 /opt/gnome/include/gstreamer-0.7/gst/gsttrashstack.h
;; From /opt/gnome/include/gstreamer-0.7/gst/gsttypefind.h
(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")
)
)
(define-method get_length
(of-object "GstTypeFind")
(c-name "gst_type_find_get_length")
(return-type "guint64")
)
(define-function type_find_register
(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")
)
)
(define-function type_find_factory_get_type
(c-name "gst_type_find_factory_get_type")
(return-type "GType")
)
(define-function type_find_factory_get_list
(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")
(return-type "gchar**")
)
(define-method get_caps
(of-object "GstTypeFindFactory")
(c-name "gst_type_find_factory_get_caps")
(return-type "const-GstCaps*")
)
(define-method call_function
(of-object "GstTypeFindFactory")
(c-name "gst_type_find_factory_call_function")
(return-type "none")
(parameters
'("GstTypeFind*" "find")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gsttypes.h
;; From /opt/gnome/include/gstreamer-0.7/gst/gsturi.h
(define-function uri_protocol_is_valid
(c-name "gst_uri_protocol_is_valid")
(return-type "gboolean")
(parameters
'("const-gchar*" "protocol")
)
)
(define-function uri_is_valid
(c-name "gst_uri_is_valid")
(return-type "gboolean")
(parameters
'("const-gchar*" "uri")
)
)
(define-function uri_get_protocol
(c-name "gst_uri_get_protocol")
(return-type "gchar*")
(parameters
'("const-gchar*" "uri")
)
)
(define-function uri_get_location
(c-name "gst_uri_get_location")
(return-type "gchar*")
(parameters
'("const-gchar*" "uri")
)
)
(define-function uri_construct
(c-name "gst_uri_construct")
(return-type "gchar*")
(parameters
'("const-gchar*" "protocol")
'("const-gchar*" "location")
)
)
(define-function element_make_from_uri
(c-name "gst_element_make_from_uri")
(return-type "GstElement*")
(parameters
'("GstURIType" "type")
'("const-gchar*" "uri")
'("const-gchar*" "elementname")
)
)
(define-function uri_handler_get_type
(c-name "gst_uri_handler_get_type")
(return-type "GType")
)
(define-method get_uri_type
(of-object "GstURIHandler")
(c-name "gst_uri_handler_get_uri_type")
(return-type "guint")
)
(define-method get_protocols
(of-object "GstURIHandler")
(c-name "gst_uri_handler_get_protocols")
(return-type "gchar**")
)
(define-method get_uri
(of-object "GstURIHandler")
(c-name "gst_uri_handler_get_uri")
(return-type "const-gchar*")
)
(define-method set_uri
(of-object "GstURIHandler")
(c-name "gst_uri_handler_set_uri")
(return-type "gboolean")
(parameters
'("const-gchar*" "uri")
)
)
(define-method new_uri
(of-object "GstURIHandler")
(c-name "gst_uri_handler_new_uri")
(return-type "none")
(parameters
'("const-gchar*" "uri")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gsturitype.h
(define-function uri_get_uri_type
(c-name "gst_uri_get_uri_type")
(return-type "GType")
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstutils.h
(define-function util_set_value_from_string
(c-name "gst_util_set_value_from_string")
(return-type "none")
(parameters
'("GValue*" "value")
'("const-gchar*" "value_str")
)
)
(define-function util_set_object_arg
(c-name "gst_util_set_object_arg")
(return-type "none")
(parameters
'("GObject*" "object")
'("const-gchar*" "name")
'("const-gchar*" "value")
)
)
(define-function util_dump_mem
(c-name "gst_util_dump_mem")
(return-type "none")
(parameters
'("guchar*" "mem")
'("guint" "size")
)
)
(define-function print_pad_caps
(c-name "gst_print_pad_caps")
(return-type "none")
(parameters
'("GString*" "buf")
'("gint" "indent")
'("GstPad*" "pad")
)
)
(define-function print_element_args
(c-name "gst_print_element_args")
(return-type "none")
(parameters
'("GString*" "buf")
'("gint" "indent")
'("GstElement*" "element")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstvalue.h
(define-function value_list_prepend_value
(c-name "gst_value_list_prepend_value")
(return-type "none")
(parameters
'("GValue*" "value")
'("const-GValue*" "prepend_value")
)
)
(define-function value_list_append_value
(c-name "gst_value_list_append_value")
(return-type "none")
(parameters
'("GValue*" "value")
'("const-GValue*" "append_value")
)
)
(define-function value_list_get_size
(c-name "gst_value_list_get_size")
(return-type "guint")
(parameters
'("const-GValue*" "value")
)
)
(define-function value_list_get_value
(c-name "gst_value_list_get_value")
(return-type "const-GValue*")
(parameters
'("const-GValue*" "value")
'("guint" "index")
)
)
(define-function value_list_concat
(c-name "gst_value_list_concat")
(return-type "none")
(parameters
'("GValue*" "dest")
'("const-GValue*" "value1")
'("const-GValue*" "value2")
)
)
(define-function value_set_fourcc
(c-name "gst_value_set_fourcc")
(return-type "none")
(parameters
'("GValue*" "value")
'("guint32" "fourcc")
)
)
(define-function value_get_fourcc
(c-name "gst_value_get_fourcc")
(return-type "guint32")
(parameters
'("const-GValue*" "value")
)
)
(define-function value_set_int_range
(c-name "gst_value_set_int_range")
(return-type "none")
(parameters
'("GValue*" "value")
'("int" "start")
'("int" "end")
)
)
(define-function value_get_int_range_min
(c-name "gst_value_get_int_range_min")
(return-type "int")
(parameters
'("const-GValue*" "value")
)
)
(define-function value_get_int_range_max
(c-name "gst_value_get_int_range_max")
(return-type "int")
(parameters
'("const-GValue*" "value")
)
)
(define-function value_set_double_range
(c-name "gst_value_set_double_range")
(return-type "none")
(parameters
'("GValue*" "value")
'("double" "start")
'("double" "end")
)
)
(define-function value_get_double_range_min
(c-name "gst_value_get_double_range_min")
(return-type "double")
(parameters
'("const-GValue*" "value")
)
)
(define-function value_get_double_range_max
(c-name "gst_value_get_double_range_max")
(return-type "double")
(parameters
'("const-GValue*" "value")
)
)
(define-function value_get_caps
(c-name "gst_value_get_caps")
(return-type "const-GstCaps*")
(parameters
'("const-GValue*" "value")
)
)
(define-function value_set_caps
(c-name "gst_value_set_caps")
(return-type "none")
(parameters
'("GValue*" "value")
'("const-GstCaps*" "caps")
)
)
(define-function value_can_compare
(c-name "gst_value_can_compare")
(return-type "gboolean")
(parameters
'("const-GValue*" "value1")
'("const-GValue*" "value2")
)
)
(define-function value_compare
(c-name "gst_value_compare")
(return-type "int")
(parameters
'("const-GValue*" "value1")
'("const-GValue*" "value2")
)
)
(define-function value_can_union
(c-name "gst_value_can_union")
(return-type "gboolean")
(parameters
'("const-GValue*" "value1")
'("const-GValue*" "value2")
)
)
(define-function value_union
(c-name "gst_value_union")
(return-type "gboolean")
(parameters
'("GValue*" "dest")
'("const-GValue*" "value1")
'("const-GValue*" "value2")
)
)
(define-function value_register_union_func
(c-name "gst_value_register_union_func")
(return-type "none")
(parameters
'("GType" "type1")
'("GType" "type2")
'("GstValueUnionFunc" "func")
)
)
(define-function value_can_intersect
(c-name "gst_value_can_intersect")
(return-type "gboolean")
(parameters
'("const-GValue*" "value1")
'("const-GValue*" "value2")
)
)
(define-function value_intersect
(c-name "gst_value_intersect")
(return-type "gboolean")
(parameters
'("GValue*" "dest")
'("const-GValue*" "value1")
'("const-GValue*" "value2")
)
)
(define-function value_register_intersect_func
(c-name "gst_value_register_intersect_func")
(return-type "none")
(parameters
'("GType" "type1")
'("GType" "type2")
'("GstValueIntersectFunc" "func")
)
)
(define-function value_register
(c-name "gst_value_register")
(return-type "none")
(parameters
'("const-GstValueTable*" "table")
)
)
(define-function value_init_and_copy
(c-name "gst_value_init_and_copy")
(return-type "none")
(parameters
'("GValue*" "dest")
'("const-GValue*" "src")
)
)
(define-function _gst_value_initialize
(c-name "_gst_value_initialize")
(return-type "none")
)
(define-function value_serialize
(c-name "gst_value_serialize")
(return-type "gchar*")
(parameters
'("const-GValue*" "value")
)
)
(define-function value_deserialize
(c-name "gst_value_deserialize")
(return-type "gboolean")
(parameters
'("GValue*" "dest")
'("const-gchar*" "src")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstversion.h
(define-function version
(c-name "gst_version")
(return-type "none")
(parameters
'("guint*" "major")
'("guint*" "minor")
'("guint*" "micro")
)
)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstxml.h
(define-function xml_get_type
(c-name "gst_xml_get_type")
(return-type "GType")
)
(define-function xml_write
(c-name "gst_xml_write")
(return-type "xmlDocPtr")
(parameters
'("GstElement*" "element")
)
)
(define-function xml_write_file
(c-name "gst_xml_write_file")
(return-type "gint")
(parameters
'("GstElement*" "element")
'("FILE*" "out")
)
)
(define-function xml_new
(c-name "gst_xml_new")
(is-constructor-of "GstXml")
(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*")
)
(define-function xml_make_element
(c-name "gst_xml_make_element")
(return-type "GstElement*")
(parameters
'("xmlNodePtr" "cur")
'("GstObject*" "parent")
)
)