From 06f4cbd7f3d952daa87ee2135151b07a2ac51ee1 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 30 Jan 2009 18:18:10 +0000 Subject: [PATCH] Fix the return value of the default parse_frame function. Fix the return value of the default parse_frame function in both copies of GstBaseParse --- gst/aacparse/gstbaseparse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/aacparse/gstbaseparse.c b/gst/aacparse/gstbaseparse.c index 258199cdbb..baa56826c0 100644 --- a/gst/aacparse/gstbaseparse.c +++ b/gst/aacparse/gstbaseparse.c @@ -272,7 +272,7 @@ static void gst_base_parse_loop (GstPad * pad); static gboolean gst_base_parse_check_frame (GstBaseParse * parse, GstBuffer * buffer, guint * framesize, gint * skipsize); -static gboolean gst_base_parse_parse_frame (GstBaseParse * parse, +static GstFlowReturn gst_base_parse_parse_frame (GstBaseParse * parse, GstBuffer * buffer); static gboolean gst_base_parse_sink_eventfunc (GstBaseParse * parse, @@ -443,13 +443,13 @@ gst_base_parse_check_frame (GstBaseParse * parse, * * Default callback for parse_frame. */ -static gboolean +static GstFlowReturn gst_base_parse_parse_frame (GstBaseParse * parse, GstBuffer * buffer) { /* FIXME: Could we even _try_ to do something clever here? */ GST_BUFFER_TIMESTAMP (buffer) = GST_CLOCK_TIME_NONE; GST_BUFFER_DURATION (buffer) = GST_CLOCK_TIME_NONE; - return TRUE; + return GST_FLOW_OK; } -- 2.34.1