basesink: Fix gst_base_sink_set_drop_out_of_segment() documentation
authorSebastian Dröge <sebastian@centricular.com>
Wed, 2 Nov 2016 14:35:59 +0000 (16:35 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 2 Nov 2016 14:35:59 +0000 (16:35 +0200)
Also silences a GI warning.

libs/gst/base/gstbasesink.c
libs/gst/base/gstbasesink.h

index 60da48f..dc6852a 100644 (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
  */
index 02c4a7a..faf3534 100644 (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 */