From bce5d0fc55319a67671c7a4bfe8be182ec1177e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 10 Nov 2016 13:42:46 +0000 Subject: [PATCH] baseparse: add since marker for new API to docs and fix win32 .def file --- libs/gst/base/gstbaseparse.c | 6 +++++- win32/common/libgstbase.def | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index 6015328..023864a 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 d927baa..740772d 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 -- 2.7.4