After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794250 - BaseTransform::transform_ip_vfunc gives read-only buffer
BaseTransform::transform_ip_vfunc gives read-only buffer
Status: RESOLVED FIXED
Product: gstreamermm
Classification: Bindings
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gstreamermm-maint
gstreamermm-maint
Depends on:
Blocks:
 
 
Reported: 2018-03-12 08:55 UTC by Manuel Weichselbaumer
Modified: 2018-04-14 15:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test code (2.93 KB, text/plain)
2018-03-12 08:55 UTC, Manuel Weichselbaumer
Details

Description Manuel Weichselbaumer 2018-03-12 08:55:39 UTC
Created attachment 369565 [details]
Test code

When implementing a custom filter (inheriting AudioFilter) the transform_ip_vfunc function gives read-only buffer.

See attached example.
Comment 1 Marcin Kolny (IRC: loganek) 2018-04-14 15:34:28 UTC
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=3f5fe44d45f4c2cefd0731bbd874a9bc9ae2dc5c) 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.