summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/gst/base/gstbaseparse.c6
-rw-r--r--win32/common/libgstbase.def2
2 files changed, 6 insertions, 2 deletions
diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c
index 6015328ca..023864a2a 100644
--- a/libs/gst/base/gstbaseparse.c
+++ b/libs/gst/base/gstbaseparse.c
@@ -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)
diff --git a/win32/common/libgstbase.def b/win32/common/libgstbase.def
index d927baa01..740772dae 100644
--- a/win32/common/libgstbase.def
+++ b/win32/common/libgstbase.def
@@ -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