From bf3a7c54f7a22cbedc842fcf5868b756e9091fad Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 2 Nov 2016 11:32:42 +1100 Subject: [PATCH] Add new basesink API to exports and Since markers Add Since markers to the new basesink API to drop out-of-segment buffers, and add them to the win32 exports --- libs/gst/base/gstbasesink.c | 4 ++++ win32/common/libgstbase.def | 2 ++ 2 files changed, 6 insertions(+) diff --git a/libs/gst/base/gstbasesink.c b/libs/gst/base/gstbasesink.c index 9f56e9f76d..60da48f2fd 100644 --- a/libs/gst/base/gstbasesink.c +++ b/libs/gst/base/gstbasesink.c @@ -728,6 +728,8 @@ gst_base_sink_get_sync (GstBaseSink * sink) * clock. * * Returns: %TRUE if the sink is configured to synchronize against the clock. + * + * Since: 1.12 */ void gst_base_sink_set_drop_out_of_segment (GstBaseSink * sink, @@ -753,6 +755,8 @@ gst_base_sink_set_drop_out_of_segment (GstBaseSink * sink, * the current segment * * Returns: %TRUE if the sink is configured to synchronize against the clock. + * + * Since: 1.12 */ gboolean gst_base_sink_get_drop_out_of_segment (GstBaseSink * sink) diff --git a/win32/common/libgstbase.def b/win32/common/libgstbase.def index 783f1af410..85c346044b 100644 --- a/win32/common/libgstbase.def +++ b/win32/common/libgstbase.def @@ -53,6 +53,7 @@ EXPORTS gst_base_parse_set_ts_at_offset gst_base_sink_do_preroll gst_base_sink_get_blocksize + gst_base_sink_get_drop_out_of_segment gst_base_sink_get_last_sample gst_base_sink_get_latency gst_base_sink_get_max_bitrate @@ -68,6 +69,7 @@ EXPORTS gst_base_sink_query_latency gst_base_sink_set_async_enabled gst_base_sink_set_blocksize + gst_base_sink_set_drop_out_of_segment gst_base_sink_set_last_sample_enabled gst_base_sink_set_max_bitrate gst_base_sink_set_max_lateness