ttmlparse: don't leak caps.
https://bugzilla.gnome.org/show_bug.cgi?id=780402
This commit is contained in:
parent
60bcf63a29
commit
89b6b1a760
@ -463,6 +463,7 @@ handle_buffer (GstTtmlParse * self, GstBuffer * buf)
|
||||
|
||||
if (!(caps = gst_ttml_parse_get_src_caps (self)))
|
||||
return GST_FLOW_EOS;
|
||||
gst_caps_unref (caps);
|
||||
|
||||
/* Push newsegment if needed */
|
||||
if (self->need_segment) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user