GNOME Bugzilla – Bug 763059
opusdec: plug caps leak
Last modified: 2016-03-11 15:56:30 UTC
Created attachment 323019 [details] [review] patch Just avoid doing the copy.
We found this running the test here: https://bugzilla.gnome.org/show_bug.cgi?id=763058 locally
Comment on attachment 323019 [details] [review] patch Thanks, I don't think this is entirely correct though. The code here might modify the caps via the gst_structure_set_value() in the loop, and we have no guarantee that we are allowed to modify these caps here. I think the right solution is to use caps = gst_caps_make_writable (caps) here.
commit 461cdd8c266c85a008ea0a8ab934a9a2487e5567 Author: Havard Graff <havard.graff@gmail.com> Date: Thu Mar 3 20:10:17 2016 +0100 opusdec: plug caps leak https://bugzilla.gnome.org/show_bug.cgi?id=763059