mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
volume: use new api to check activity of a controller
This commit is contained in:
parent
0019bcaa47
commit
6c2f5317c7
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ volume_update_volume (GstVolume * self, gfloat volume, gboolean mute)
|
|||
* because the property can change from 1.0 to something
|
||||
* else in the middle of a buffer.
|
||||
*/
|
||||
passthrough = passthrough && (GST_OBJECT (self)->ctrl == NULL);
|
||||
passthrough &= gst_object_has_active_automation (GST_OBJECT (self));
|
||||
|
||||
GST_DEBUG_OBJECT (self, "set passthrough %d", passthrough);
|
||||
|
||||
|
|
Loading…
Reference in a new issue