From 7c377f9596e0ff571e335167f269ee1d620090e0 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 10 Mar 2006 10:54:40 +0000 Subject: [PATCH] gst/: Added new API: gst_pipeline_[get|set]_auto_flush_bus() gst_uri_has_protocol() 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 | 9 +++++++++ common | 2 +- gst/gst-types.defs | 1 + gst/gst.defs | 24 ++++++++++++++++++++++++ 4 files changed, 35 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index efa7f1b..5df7fcb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-03-10 Edward Hervey + + * 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 * gst/arg-types.py: diff --git a/common b/common index c09cd18..9200457 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit c09cd18d328f740ac532377fa5605b0f712cc6fd +Subproject commit 9200457d08a57f0d7eaeb56915804fa8faf14418 diff --git a/gst/gst-types.defs b/gst/gst-types.defs index 522f217..f9719b1 100644 --- a/gst/gst-types.defs +++ b/gst/gst-types.defs @@ -462,6 +462,7 @@ '("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") ) ) diff --git a/gst/gst.defs b/gst/gst.defs index 7d47249..b03f781 100644 --- a/gst/gst.defs +++ b/gst/gst.defs @@ -4054,6 +4054,21 @@ (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 @@ -6096,6 +6111,15 @@ ) ) +(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*") -- 2.7.4