playbin2: fix initial volume and mute handling
authorStefan Kost <ensonic@users.sf.net>
Fri, 22 May 2009 12:49:14 +0000 (15:49 +0300)
committerStefan Kost <ensonic@users.sf.net>
Fri, 22 May 2009 12:49:14 +0000 (15:49 +0300)
commit45298860fc3ad1f99925a109c64d4167776e0626
treed9256e03d77cb1f0fab44b8ee1002f88eab00faf
parentfcd519010658f51fe98db1fd73e85e1e82de9aaa
playbin2: fix initial volume and mute handling

Use two flags to remember volume/mute changes at times when we don't have the
audiochain yet (e.g. construction). Only set values when they were actualy
changed. This makes pulseaudio's stream restore functional.
gst/playback/gstplaysink.c