projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0019bca
)
volume: use new api to check activity of a controller
author
Stefan Sauer
<ensonic@users.sf.net>
Fri, 4 Nov 2011 20:00:29 +0000
(21:00 +0100)
committer
Stefan Sauer
<ensonic@users.sf.net>
Fri, 4 Nov 2011 20:00:29 +0000
(21:00 +0100)
gst/volume/gstvolume.c
patch
|
blob
|
history
diff --git
a/gst/volume/gstvolume.c
b/gst/volume/gstvolume.c
index
9d3473f
..
5f4c0c0
100644
(file)
--- a/
gst/volume/gstvolume.c
+++ b/
gst/volume/gstvolume.c
@@
-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);