GNOME Bugzilla – Bug 442654
[volume] controller bypassed by default
Last modified: 2007-08-23 08:34:03 UTC
I'm just starting out trying to use gstreamer, and I believe I ran into a bug in the volume plugin. If you leave the volume set to the default (1.0), it calls gst_base_transform_set_passthrough() to set a passthrough property to true. When this is true, volume_transform_ip() just returns. Unfortunately, this bypasses gst_object_sync_values(). As a result, if the volume starts out at 1.0 but you try to use a GstController to tweak the value over time, the controller is completely ignored.
My current workaround is to set the initial volume to 1.01, but I'm afraid that if the controller ever happened to set the volume to 1.0 (or close to it in a 16-bit int), then it would kill all future updates.
Thanks for pointing that out!
2007-08-23 Stefan Kost <email@example.com>
Move passthrough below gst_object_sync_values(). Fixes #442654.