baseparse: add since marker for new API to docs and fix win32 .def file
authorTim-Philipp Müller <tim@centricular.com>
Thu, 10 Nov 2016 13:42:46 +0000 (13:42 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 10 Nov 2016 13:49:29 +0000 (13:49 +0000)
libs/gst/base/gstbaseparse.c
win32/common/libgstbase.def

index 6015328..023864a 100644 (file)
@@ -2702,11 +2702,15 @@ exit:
   return ret;
 }
 
-/* gst_base_parse_drain:
+/**
+ * gst_base_parse_drain:
+ * @parse: a #GstBaseParse
  *
  * Drains the adapter until it is empty. It decreases the min_frame_size to
  * match the current adapter size and calls chain method until the adapter
  * is emptied or chain returns with error.
+ *
+ * Since: 1.12
  */
 void
 gst_base_parse_drain (GstBaseParse * parse)
index d927baa..740772d 100644 (file)
@@ -32,6 +32,7 @@ EXPORTS
        gst_adapter_unmap
        gst_base_parse_add_index_entry
        gst_base_parse_convert_default
+       gst_base_parse_drain
        gst_base_parse_finish_frame
        gst_base_parse_frame_free
        gst_base_parse_frame_get_type
@@ -44,7 +45,6 @@ EXPORTS
        gst_base_parse_set_duration
        gst_base_parse_set_frame_rate
        gst_base_parse_set_has_timing_info
-       gst_base_parse_drain
        gst_base_parse_set_infer_ts
        gst_base_parse_set_latency
        gst_base_parse_set_min_frame_size