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
This commit is contained in:
Edward Hervey 2006-03-10 10:54:40 +00:00
parent 455c2109fa
commit 7c377f9596
4 changed files with 35 additions and 1 deletions

View file

@ -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> 2006-03-07 Edward Hervey <edward@fluendo.com>
* gst/arg-types.py: * gst/arg-types.py:

2
common

@ -1 +1 @@
Subproject commit c09cd18d328f740ac532377fa5605b0f712cc6fd Subproject commit 9200457d08a57f0d7eaeb56915804fa8faf14418

View file

@ -462,6 +462,7 @@
'("seek" "GST_RESOURCE_ERROR_SEEK") '("seek" "GST_RESOURCE_ERROR_SEEK")
'("sync" "GST_RESOURCE_ERROR_SYNC") '("sync" "GST_RESOURCE_ERROR_SYNC")
'("settings" "GST_RESOURCE_ERROR_SETTINGS") '("settings" "GST_RESOURCE_ERROR_SETTINGS")
'("no-space-left" "GST_RESOURCE_ERROR_NO_SPACE_LEFT")
'("num-errors" "GST_RESOURCE_ERROR_NUM_ERRORS") '("num-errors" "GST_RESOURCE_ERROR_NUM_ERRORS")
) )
) )

View file

@ -4054,6 +4054,21 @@
(return-type "none") (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 ;; 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 (define-function uri_get_location
(c-name "gst_uri_get_location") (c-name "gst_uri_get_location")
(return-type "gchar*") (return-type "gchar*")