playbin2: Look for volume/mute properties recursively in audio element.
authorMichael Smith <msmith@songbirdnest.com>
Wed, 11 Feb 2009 01:10:33 +0000 (17:10 -0800)
committerMichael Smith <msmith@songbirdnest.com>
Wed, 11 Feb 2009 01:20:12 +0000 (17:20 -0800)
commita264efc627c90c2007a5f19c46b1b0104e532925
treea2f6fdd221ed4d953ce449eb6e377a8832d5b1fe
parent67948a40278d181d4052d3bce36e55fabaf80e90
playbin2: Look for volume/mute properties recursively in audio element.

Rather than only checking for volume property on the audio sink
directly, recursively look for it on sinks within it (if it's a bin).
Allows use of sink-as-volume-control where the application has supplied
an audio-sink bin that includes a real audio sink internally.
gst/playback/gstplaysink.c