baseparse: expose gst_base_parse_drain

This commit is contained in:
Vincent Penquerc'h 2016-11-10 12:47:37 +00:00
parent 0079aea21c
commit 4caf66fbca
4 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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;

View file

@ -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);

View file

@ -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