projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2c992d
)
opusdec: plug caps leak
author
Havard Graff
<havard.graff@gmail.com>
Thu, 3 Mar 2016 19:10:17 +0000
(20:10 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 3 Mar 2016 20:10:09 +0000
(20:10 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=763059
ext/opus/gstopusdec.c
patch
|
blob
|
history
diff --git
a/ext/opus/gstopusdec.c
b/ext/opus/gstopusdec.c
index
91dedb9
..
7aa9838
100644
(file)
--- a/
ext/opus/gstopusdec.c
+++ b/
ext/opus/gstopusdec.c
@@
-888,7
+888,7
@@
gst_opus_dec_getcaps (GstAudioDecoder * dec, GstCaps * filter)
if (filter)
gst_caps_unref (filter);
if (caps) {
- caps = gst_caps_
copy
(caps);
+ caps = gst_caps_
make_writable
(caps);
for (n = 0; n < gst_caps_get_size (caps); ++n) {
GstStructure *s = gst_caps_get_structure (caps, n);
if (gst_structure_get_int (s, "channels", &channels)) {