gst/: Update for registry/plugin/pluginfeature API changes.

Original commit message from CVS:
2005-09-15  Andy Wingo  <wingo@pobox.com>

* gst/gst-types.defs:
* gst/gst.defs: Update for registry/plugin/pluginfeature API changes.
This commit is contained in:
Andy Wingo 2005-09-15 11:58:13 +00:00
parent de0ee6f4fd
commit fc71ff617e
4 changed files with 45 additions and 200 deletions

View file

@ -1,3 +1,8 @@
2005-09-15 Andy Wingo <wingo@pobox.com>
* gst/gst-types.defs:
* gst/gst.defs: Update for registry/plugin/pluginfeature API changes.
2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org> 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstbus.override: * gst/gstbus.override:

2
common

@ -1 +1 @@
Subproject commit 30a1fc4dc24133cc411e0232af87790ae2f845b2 Subproject commit 9a5025a2d276796d8d21243ef598e679ff7477bc

View file

@ -785,32 +785,6 @@
) )
) )
(define-flags RegistryReturn
(in-module "Gst")
(c-name "GstRegistryReturn")
(gtype-id "GST_TYPE_REGISTRY_RETURN")
(values
'("ok" "GST_REGISTRY_OK")
'("load-error" "GST_REGISTRY_LOAD_ERROR")
'("save-error" "GST_REGISTRY_SAVE_ERROR")
'("plugin-load-error" "GST_REGISTRY_PLUGIN_LOAD_ERROR")
'("plugin-signature-error" "GST_REGISTRY_PLUGIN_SIGNATURE_ERROR")
)
)
(define-flags RegistryFlags
(in-module "Gst")
(c-name "GstRegistryFlags")
(gtype-id "GST_TYPE_REGISTRY_FLAGS")
(values
'("readable" "GST_REGISTRY_READABLE")
'("writable" "GST_REGISTRY_WRITABLE")
'("exists" "GST_REGISTRY_EXISTS")
'("remote" "GST_REGISTRY_REMOTE")
'("delayed-loading" "GST_REGISTRY_DELAYED_LOADING")
)
)
(define-enum TagMergeMode (define-enum TagMergeMode
(in-module "Gst") (in-module "Gst")
(c-name "GstTagMergeMode") (c-name "GstTagMergeMode")

View file

@ -1518,16 +1518,6 @@
(return-type "GType") (return-type "GType")
) )
(define-function gst_registry_return_get_type
(c-name "gst_registry_return_get_type")
(return-type "GType")
)
(define-function gst_registry_flags_get_type
(c-name "gst_registry_flags_get_type")
(return-type "GType")
)
(define-function gst_parse_error_get_type (define-function gst_parse_error_get_type
(c-name "gst_parse_error_get_type") (c-name "gst_parse_error_get_type")
(return-type "GType") (return-type "GType")
@ -3826,12 +3816,6 @@
) )
) )
(define-method unload_plugin
(of-object "GstPlugin")
(c-name "gst_plugin_unload_plugin")
(return-type "gboolean")
)
(define-method add_feature (define-method add_feature
(of-object "GstPlugin") (of-object "GstPlugin")
(c-name "gst_plugin_add_feature") (c-name "gst_plugin_add_feature")
@ -3841,12 +3825,10 @@
) )
) )
(define-function plugin_load (define-method load
(of-object "GstPlugin")
(c-name "gst_plugin_load") (c-name "gst_plugin_load")
(return-type "gboolean") (return-type "GstPlugin*")
(parameters
'("const-gchar*" "name")
)
) )
@ -3858,16 +3840,10 @@
(return-type "GType") (return-type "GType")
) )
(define-method ensure_loaded (define-method load
(of-object "GstPluginFeature") (of-object "GstPluginFeature")
(c-name "gst_plugin_feature_ensure_loaded") (c-name "gst_plugin_feature_load")
(return-type "gboolean") (return-type "GstPluginFeature*")
)
(define-method unload_thyself
(of-object "GstPluginFeature")
(c-name "gst_plugin_feature_unload_thyself")
(return-type "none")
) )
(define-method type_name_filter (define-method type_name_filter
@ -3909,11 +3885,6 @@
(return-type "const-gchar*") (return-type "const-gchar*")
) )
(define-virtual unload_thyself
(of-object "GstPluginFeature")
(return-type "none")
)
;; From ../gstreamer/gst/gstquery.h ;; From ../gstreamer/gst/gstquery.h
(define-function gst_query_get_type (define-function gst_query_get_type
@ -4102,39 +4073,14 @@
(return-type "GType") (return-type "GType")
) )
(define-method load (define-function gst_registry_get_default
(of-object "GstRegistry") (c-name "gst_registry_get_default")
(c-name "gst_registry_load") (return-type "GstRegistry*")
(return-type "gboolean")
) )
(define-method is_loaded (define-method scan_path
(of-object "GstRegistry") (of-object "GstRegistry")
(c-name "gst_registry_is_loaded") (c-name "gst_registry_scan_path")
(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") (return-type "none")
(parameters (parameters
'("const-gchar*" "path") '("const-gchar*" "path")
@ -4171,6 +4117,12 @@
) )
) )
(define-method get_plugin_list
(of-object "GstRegistry")
(c-name "gst_registry_get_plugin_list")
(return-type "GList*")
)
(define-method plugin_filter (define-method plugin_filter
(of-object "GstRegistry") (of-object "GstRegistry")
(c-name "gst_registry_plugin_filter") (c-name "gst_registry_plugin_filter")
@ -4193,6 +4145,15 @@
) )
) )
(define-method get_feature_list
(of-object "GstRegistry")
(c-name "gst_registry_get_feature_list")
(return-type "GList*")
(parameters
'("GType" "type")
)
)
(define-method find_plugin (define-method find_plugin
(of-object "GstRegistry") (of-object "GstRegistry")
(c-name "gst_registry_find_plugin") (c-name "gst_registry_find_plugin")
@ -4212,125 +4173,30 @@
) )
) )
(define-method load_plugin (define-method lookup
(of-object "GstRegistry") (of-object "GstRegistry")
(c-name "gst_registry_load_plugin") (c-name "gst_registry_lookup")
(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 ../gstreamer/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*") (return-type "GstPlugin*")
(parameters (parameters
'("const-gchar*" "name") '("const-char*" "location")
) )
) )
(define-function registry_pool_find_feature (define-method xml_read_cache
(c-name "gst_registry_pool_find_feature") (of-object "GstRegistry")
(return-type "GstPluginFeature*") (c-name "gst_registry_xml_read_cache")
(return-type "gboolean")
(parameters (parameters
'("const-gchar*" "name") '("const-char*" "location")
'("GType" "type")
) )
) )
(define-function registry_pool_get_prefered (define-method xml_write_cache
(c-name "gst_registry_pool_get_prefered") (of-object "GstRegistry")
(return-type "GstRegistry*") (c-name "gst_registry_xml_write_cache")
(return-type "gboolean")
(parameters (parameters
'("GstRegistryFlags" "flags") '("const-char*" "location")
) )
) )