pbutils: Update .defs for latest addition

This commit is contained in:
Edward Hervey 2011-01-05 21:25:37 +01:00
parent 0ef52abad4
commit 59dc6032b4
2 changed files with 34 additions and 7 deletions

View file

@ -15,6 +15,7 @@ ignore
gst_encoding_profile_is_equal
gst_encoding_profile_get_output_caps
gst_encoding_profile_get_type_nick
gst_encoding_profile_find
gst_encoding_container_profile_add_profile
gst_encoding_container_profile_contains_profile
gst_encoding_container_profile_get_profiles
@ -32,9 +33,11 @@ ignore
gst_encoding_target_get_profiles
gst_encoding_target_add_profile
gst_encoding_target_save
gst_encoding_target_save_to
gst_encoding_target_save_to_file
gst_encoding_target_load
gst_encoding_target_load_from
gst_encoding_target_load_from_file
gst_encoding_list_available_categories
gst_encoding_list_all_targets
gst_discoverer_info_get_seekable
gst_video_parse_caps_palette
%%

View file

@ -448,6 +448,16 @@
(return-type "const-gchar*")
)
(define-function encoding_profile_find
(c-name "gst_encoding_profile_find")
(return-type "GstEncodingProfile*")
(parameters
'("const-gchar*" "targetname")
'("const-gchar*" "profilename")
'("const-gchar*" "category")
)
)
(define-method add_profile
(of-object "GstEncodingContainerProfile")
(c-name "gst_encoding_container_profile_add_profile")
@ -596,9 +606,9 @@
)
)
(define-method save_to
(define-method save_to_file
(of-object "GstEncodingTarget")
(c-name "gst_encoding_target_save_to")
(c-name "gst_encoding_target_save_to_file")
(return-type "gboolean")
(parameters
'("const-gchar*" "path")
@ -606,17 +616,18 @@
)
)
(define-function gst_encoding_target_load
(define-function encoding_target_load
(c-name "gst_encoding_target_load")
(return-type "GstEncodingTarget*")
(parameters
'("const-gchar*" "name")
'("const-gchar*" "category")
'("GError**" "error")
)
)
(define-function gst_encoding_target_load_from
(c-name "gst_encoding_target_load_from")
(define-function encoding_target_load_from_file
(c-name "gst_encoding_target_load_from_file")
(return-type "GstEncodingTarget*")
(parameters
'("const-gchar*" "path")
@ -624,6 +635,19 @@
)
)
(define-function encoding_list_available_categories
(c-name "gst_encoding_list_available_categories")
(return-type "GList*")
)
(define-function encoding_list_all_targets
(c-name "gst_encoding_list_all_targets")
(return-type "GList*")
(parameters
'("const-gchar*" "categoryname")
)
)
;; From gstdiscoverer.h