playbin2: fix volume handling for audio sinks without "volume" property
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 28 May 2009 19:37:59 +0000 (20:37 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 28 May 2009 19:49:22 +0000 (20:49 +0100)
commiteffa5e69d9ca229a38e18429a7700664cb41cf49
tree956afac7e6131f728c673e16222b8cdb3967c844
parent18fc3e6e1850847315a78e847dc34c86bdca854f
playbin2: fix volume handling for audio sinks without "volume" property

When using an audio sink without a "volume" property, volume control
would only work for the first song. For the next song, we'd try to
re-use the existing audio chain, but inadvertently set chain->volume
to NULL instead of to the existing volume element.
gst/playback/gstplaysink.c