Commit c6a5798c authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

basesink: Fix gst_base_sink_set_drop_out_of_segment() documentation

Also silences a GI warning.
parent 9f4f16df
......@@ -723,11 +723,9 @@ gst_base_sink_get_sync (GstBaseSink * sink)
/**
* gst_base_sink_set_drop_out_of_segment:
* @sink: the sink
* @drop_out_of_segment: drop buffers outside the segment
*
* Checks if @sink is currently configured to synchronize against the
* clock.
*
* Returns: %TRUE if the sink is configured to synchronize against the clock.
* Configure @sink is to drop buffers which are outside the current segment
*
* Since: 1.12
*/
......@@ -754,7 +752,8 @@ gst_base_sink_set_drop_out_of_segment (GstBaseSink * sink,
* Checks if @sink is currently configured to drop buffers which are outside
* the current segment
*
* Returns: %TRUE if the sink is configured to synchronize against the clock.
* Returns: %TRUE if the sink is configured to drop buffers outside the
* current segment.
*
* Since: 1.12
*/
......
......@@ -208,7 +208,7 @@ void gst_base_sink_set_sync (GstBaseSink *sink, gboolean syn
gboolean gst_base_sink_get_sync (GstBaseSink *sink);
/* Drop buffers which are out of segment */
void gst_base_sink_set_drop_out_of_segment (GstBaseSink *sink, gboolean drop_clipped);
void gst_base_sink_set_drop_out_of_segment (GstBaseSink *sink, gboolean drop_out_of_segment);
gboolean gst_base_sink_get_drop_out_of_segment (GstBaseSink *sink);
/* dropping late buffers */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment