mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 23:42:28 +00:00
subparse: don't leak line, if flushing
This commit is contained in:
parent
e95bbca65f
commit
46833b9bc7
1 changed files with 1 additions and 1 deletions
|
@ -1170,7 +1170,7 @@ handle_buffer (GstSubParse * self, GstBuffer * buf)
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
while ((line = get_next_line (self)) && !self->flushing) {
|
while (!self->flushing && (line = get_next_line (self))) {
|
||||||
guint offset = 0;
|
guint offset = 0;
|
||||||
|
|
||||||
/* Set segment on our parser state machine */
|
/* Set segment on our parser state machine */
|
||||||
|
|
Loading…
Reference in a new issue