diff options
-rw-r--r-- | docs/libs/gstreamer-libs-sections.txt | 1 | ||||
-rw-r--r-- | libs/gst/base/gstbaseparse.c | 4 | ||||
-rw-r--r-- | libs/gst/base/gstbaseparse.h | 2 | ||||
-rw-r--r-- | win32/common/libgstbase.def | 1 |
4 files changed, 5 insertions, 3 deletions
diff --git a/docs/libs/gstreamer-libs-sections.txt b/docs/libs/gstreamer-libs-sections.txt index a37b9187c..b833357a8 100644 --- a/docs/libs/gstreamer-libs-sections.txt +++ b/docs/libs/gstreamer-libs-sections.txt @@ -212,6 +212,7 @@ gst_base_parse_set_min_frame_size gst_base_parse_set_passthrough gst_base_parse_set_syncable gst_base_parse_set_has_timing_info +gst_base_parse_drain gst_base_parse_set_frame_rate gst_base_parse_set_latency gst_base_parse_set_infer_ts diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index 816b7ab4b..6015328ca 100644 --- a/libs/gst/base/gstbaseparse.c +++ b/libs/gst/base/gstbaseparse.c @@ -479,8 +479,6 @@ static gboolean gst_base_parse_sink_query_default (GstBaseParse * parse, static gboolean gst_base_parse_src_query_default (GstBaseParse * parse, GstQuery * query); -static void gst_base_parse_drain (GstBaseParse * parse); - static gint64 gst_base_parse_find_offset (GstBaseParse * parse, GstClockTime time, gboolean before, GstClockTime * _ts); static GstFlowReturn gst_base_parse_locate_time (GstBaseParse * parse, @@ -2710,7 +2708,7 @@ exit: * match the current adapter size and calls chain method until the adapter * is emptied or chain returns with error. */ -static void +void gst_base_parse_drain (GstBaseParse * parse) { guint avail; diff --git a/libs/gst/base/gstbaseparse.h b/libs/gst/base/gstbaseparse.h index f3081ef46..abf6321b8 100644 --- a/libs/gst/base/gstbaseparse.h +++ b/libs/gst/base/gstbaseparse.h @@ -308,6 +308,8 @@ void gst_base_parse_set_min_frame_size (GstBaseParse * parse, void gst_base_parse_set_has_timing_info (GstBaseParse * parse, gboolean has_timing); +void gst_base_parse_drain (GstBaseParse * parse); + void gst_base_parse_set_syncable (GstBaseParse * parse, gboolean syncable); diff --git a/win32/common/libgstbase.def b/win32/common/libgstbase.def index 85c346044..d927baa01 100644 --- a/win32/common/libgstbase.def +++ b/win32/common/libgstbase.def @@ -44,6 +44,7 @@ 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 |