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 442654 - [volume] controller bypassed by default
[volume] controller bypassed by default
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.12
Other Linux
: Normal normal
: 0.10.15
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-05-31 18:25 UTC by Steve Fink
Modified: 2007-08-23 08:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steve Fink 2007-05-31 18:25:40 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.
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2007-08-23 08:34:03 UTC
Thanks for pointing that out!

2007-08-23  Stefan Kost  <ensonic@users.sf.net>

	* gst/volume/gstvolume.c:
	  Move passthrough below gst_object_sync_values(). Fixes #442654.