[farsight2/master] Update pythons defs

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:24:18 PST 2008


---
 python/pyfarsight.defs |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/python/pyfarsight.defs b/python/pyfarsight.defs
index e30e768..bbfe403 100644
--- a/python/pyfarsight.defs
+++ b/python/pyfarsight.defs
@@ -31,7 +31,6 @@
   (values
     '("audio" "FS_MEDIA_TYPE_AUDIO")
     '("video" "FS_MEDIA_TYPE_VIDEO")
-    '("application" "FS_MEDIA_TYPE_APPLICATION")
     '("last" "FS_MEDIA_TYPE_LAST")
   )
 )
@@ -113,12 +112,6 @@
   )
 )
 
-(define-method to_gst_caps
-  (of-object "FsCodec")
-  (c-name "fs_codec_to_gst_caps")
-  (return-type "GstCaps*")
-)
-
 (define-function fs_codec_list_are_equal
   (c-name "fs_codec_list_are_equal")
   (return-type "gboolean")
@@ -267,14 +260,15 @@
   (gtype-id "FS_TYPE_ERROR")
   (values
     '("construction" "FS_ERROR_CONSTRUCTION")
-    '("invalid-arguments" "FS_ERROR_INVALID_ARGUMENTS")
     '("internal" "FS_ERROR_INTERNAL")
+    '("invalid-arguments" "FS_ERROR_INVALID_ARGUMENTS")
     '("network" "FS_ERROR_NETWORK")
     '("not-implemented" "FS_ERROR_NOT_IMPLEMENTED")
     '("negotiation-failed" "FS_ERROR_NEGOTIATION_FAILED")
     '("unknown-codec" "FS_ERROR_UNKNOWN_CODEC")
     '("unknown-cname" "FS_ERROR_UNKNOWN_CNAME")
     '("no-codecs" "FS_ERROR_NO_CODECS")
+    '("no-codecs-left" "FS_ERROR_NO_CODECS_LEFT")
     '("connection-failed" "FS_ERROR_CONNECTION_FAILED")
   )
 )
@@ -658,6 +652,11 @@
   (return-type "GType")
 )
 
+(define-function fs_stream_state_get_type
+  (c-name "fs_stream_state_get_type")
+  (return-type "GType")
+)
+
 (define-function fs_error_get_type
   (c-name "fs_error_get_type")
   (return-type "GType")
-- 
1.5.6.5




More information about the farsight-commits mailing list