basesink: Fix gst_base_sink_set_drop_out_of_segment() documentation

Also silences a GI warning.
This commit is contained in:
Sebastian Dröge 2016-11-02 16:35:59 +02:00
parent 9f4f16df01
commit c6a5798c74
2 changed files with 5 additions and 6 deletions

View file

@ -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
*/

View file

@ -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 */