Commit 4caf66fb authored by Vincent Penquerc'h's avatar Vincent Penquerc'h

baseparse: expose gst_base_parse_drain

parent 0079aea2
......@@ -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
......
......@@ -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;
......
......@@ -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);
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment