Commit 3eba8b10 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

gst/subparse/gstsubparse.c: Break out of loop in chain function as soon as...

gst/subparse/gstsubparse.c: Break out of loop in chain function as soon as possible if we get a non-OK flow return.

Original commit message from CVS:
* gst/subparse/gstsubparse.c: (handle_buffer):
Break out of loop in chain function as soon as possible if we get
a non-OK flow return.
parent 9d1fc287
2007-03-09 Tim-Philipp Müller <tim at centricular dot net>
* gst/subparse/gstsubparse.c: (handle_buffer):
Break out of loop in chain function as soon as possible if we get
a non-OK flow return.
2007-03-08 Jan Schmidt <thaytan@mad.scientist.com>
* tests/check/elements/alsa.c: (GST_START_TEST):
......@@ -978,8 +978,10 @@ handle_buffer (GstSubParse * self, GstBuffer * buf)
g_free (subtitle);
subtitle = NULL;
if (GST_FLOW_IS_FATAL (ret))
if (ret != GST_FLOW_OK) {
GST_DEBUG_OBJECT (self, "flow: %s", gst_flow_get_name (ret));
break;
}
}
}
......
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