projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a610558
)
auparse: do not leak src_caps
author
Ognyan Tonchev
<ognyan@axis.com>
Wed, 20 Feb 2013 14:46:43 +0000
(15:46 +0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Thu, 21 Feb 2013 19:31:59 +0000
(19:31 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=694275
gst/auparse/gstauparse.c
patch
|
blob
|
history
diff --git
a/gst/auparse/gstauparse.c
b/gst/auparse/gstauparse.c
index
e643cdc
..
c4319cb
100644
(file)
--- a/
gst/auparse/gstauparse.c
+++ b/
gst/auparse/gstauparse.c
@@
-174,6
+174,8
@@
gst_au_parse_reset (GstAuParse * auparse)
gst_adapter_clear (auparse->adapter);
+ gst_caps_replace (&auparse->src_caps, NULL);
+
/* gst_segment_init (&auparse->segment, GST_FORMAT_TIME); */
}