mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
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.
This commit is contained in:
parent
9d1fc287e0
commit
3eba8b10e2
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2007-03-08 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* tests/check/elements/alsa.c: (GST_START_TEST):
|
* tests/check/elements/alsa.c: (GST_START_TEST):
|
||||||
|
|
|
@ -978,8 +978,10 @@ handle_buffer (GstSubParse * self, GstBuffer * buf)
|
||||||
g_free (subtitle);
|
g_free (subtitle);
|
||||||
subtitle = NULL;
|
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;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue