ttmlparse: don't leak caps.

https://bugzilla.gnome.org/show_bug.cgi?id=780402
This commit is contained in:
Chris Bass 2017-03-22 10:41:44 +00:00 committed by Sebastian Dröge
parent 60bcf63a29
commit 89b6b1a760

View file

@ -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) {