gst-python: pbutils: Update .defs for latest addition

Tim Müller tpm at kemper.freedesktop.org
Wed Apr 11 02:30:07 PDT 2012


Module: gst-python
Branch: master
Commit: 59dc6032b48c5ec45f7a54a67d8243276a0c9e1f
URL:    http://cgit.freedesktop.org/gstreamer/gst-python/commit/?id=59dc6032b48c5ec45f7a54a67d8243276a0c9e1f

Author: Edward Hervey <bilboed at bilboed.com>
Date:   Wed Jan  5 21:25:37 2011 +0100

pbutils: Update .defs for latest addition

---

 gst/gst-pb-0.10.32.ignore |    7 +++++--
 gst/pbutils.defs          |   34 +++++++++++++++++++++++++++++-----
 2 files changed, 34 insertions(+), 7 deletions(-)

diff --git a/gst/gst-pb-0.10.32.ignore b/gst/gst-pb-0.10.32.ignore
index b293b16..5e334fc 100644
--- a/gst/gst-pb-0.10.32.ignore
+++ b/gst/gst-pb-0.10.32.ignore
@@ -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
 %%
diff --git a/gst/pbutils.defs b/gst/pbutils.defs
index 41a5dd7..f879806 100644
--- a/gst/pbutils.defs
+++ b/gst/pbutils.defs
@@ -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



More information about the gstreamer-commits mailing list