gst/: Added new API: gst_pipeline_[get|set]_auto_flush_bus() gst_uri_has_protocol()
authorEdward Hervey <bilboed@bilboed.com>
Fri, 10 Mar 2006 10:54:40 +0000 (10:54 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 10 Mar 2006 10:54:40 +0000 (10:54 +0000)
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added new API:
gst_pipeline_[get|set]_auto_flush_bus()
gst_uri_has_protocol()
GST_RESOURCE_ERROR_NO_SPACE_LEFT

ChangeLog
common
gst/gst-types.defs
gst/gst.defs

index efa7f1b..5df7fcb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2006-03-10  Edward Hervey  <edward@fluendo.com>
+
+       * gst/gst-types.defs:
+       * gst/gst.defs:
+       Added new API:
+       gst_pipeline_[get|set]_auto_flush_bus()
+       gst_uri_has_protocol()
+       GST_RESOURCE_ERROR_NO_SPACE_LEFT
+
 2006-03-07  Edward Hervey  <edward@fluendo.com>
 
        * gst/arg-types.py:
diff --git a/common b/common
index c09cd18..9200457 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit c09cd18d328f740ac532377fa5605b0f712cc6fd
+Subproject commit 9200457d08a57f0d7eaeb56915804fa8faf14418
index 522f217..f9719b1 100644 (file)
     '("seek" "GST_RESOURCE_ERROR_SEEK")
     '("sync" "GST_RESOURCE_ERROR_SYNC")
     '("settings" "GST_RESOURCE_ERROR_SETTINGS")
+    '("no-space-left" "GST_RESOURCE_ERROR_NO_SPACE_LEFT")
     '("num-errors" "GST_RESOURCE_ERROR_NUM_ERRORS")
   )
 )
index 7d47249..b03f781 100644 (file)
   (return-type "none")
 )
 
+(define-method set_auto_flush_bus
+  (of-object "GstPipeline")
+  (c-name "gst_pipeline_set_auto_flush_bus")
+  (return-type "none")
+  (parameters
+    '("gboolean" "auto_flush")
+  )
+)
+
+(define-method get_auto_flush_bus
+  (of-object "GstPipeline")
+  (c-name "gst_pipeline_get_auto_flush_bus")
+  (return-type "gboolean")
+)
+
 
 
 ;; From ../gstreamer/gst/gstplugin.h
   )
 )
 
+(define-function uri_has_protocol
+  (c-name "gst_uri_has_protocol")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "uri")
+    '("const-gchar*" "protocol")
+  )
+)
+
 (define-function uri_get_location
   (c-name "gst_uri_get_location")
   (return-type "gchar*")