projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60bcf63
)
ttmlparse: don't leak caps.
author
Chris Bass
<floobleflam@gmail.com>
Wed, 22 Mar 2017 10:41:44 +0000
(10:41 +0000)
committer
Sebastian Dröge
<sebastian@centricular.com>
Sun, 9 Apr 2017 07:42:08 +0000
(10:42 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=780402
ext/ttml/gstttmlparse.c
patch
|
blob
|
history
diff --git
a/ext/ttml/gstttmlparse.c
b/ext/ttml/gstttmlparse.c
index 38f3fba48f64b50d761f36c5c63ed93906f35a9e..9bc05c0e12e37de0e63e364d3460ce2d2a6257b5 100644
(file)
--- a/
ext/ttml/gstttmlparse.c
+++ b/
ext/ttml/gstttmlparse.c
@@
-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) {