GNOME Bugzilla – Bug 794249
BaseTransform::transform_vfunc leaks
Last modified: 2018-04-14 16:10:44 UTC
When implementing a custom filter (inheriting AudioFilter) the transform_vfunc function leaks. Maybe an issue with refcounting the buffers... See attached example.
Created attachment 369564 [details] Test code
Hi Manuel, Thanks a lot for your report. Sorry it took so long to fix it. The problem was copy_metadata_vfunc. I've fixed it (https://git.gnome.org/browse/gstreamermm/commit/?id=4d1efb14d2e99b7525f222a561bb1eb9f4576026) so you can use latest master branch. This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.
Hi Marcin, thanks for fixing this. Good to know, that this project is still alive, since I appreciate this C++ API a lot. It is much nicer than the original gstreamer API, i have to say.