mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
ttmlparse: don't leak caps.
https://bugzilla.gnome.org/show_bug.cgi?id=780402
This commit is contained in:
parent
60bcf63a29
commit
89b6b1a760
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue