base: Add new GstBaseSink methods

This commit is contained in:
Edward Hervey 2010-07-07 12:07:55 +02:00
parent 47ad309115
commit 3573dfefa9
2 changed files with 17 additions and 0 deletions

View file

@ -283,6 +283,21 @@
(caller-owns-return #t)
)
(define-method set_last_buffer_enabled
(of-object "GstBaseSink")
(c-name "gst_base_sink_set_last_buffer_enabled")
(return-type "none")
(parameters
'("gboolean" "enable")
)
)
(define-method is_last_buffer_enabled
(of-object "GstBaseSink")
(c-name "gst_base_sink_is_last_buffer_enabled")
(return-type "gboolean")
)
(define-method query_latency
(of-object "GstBaseSink")
(c-name "gst_base_sink_query_latency")

View file

@ -6,6 +6,8 @@ ignore
gst_pad_link_full
gst_element_link_pads_full
gst_adapter_masked_scan_uint32_peek
gst_base_sink_set_last_buffer_enabled
gst_base_sink_is_last_buffer_enabled
%%
ignore-type
GstPadLinkCheck