playbin2: don't lose the ref to the volume element
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 28 May 2009 15:21:35 +0000 (17:21 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 28 May 2009 15:21:35 +0000 (17:21 +0200)
commit3f20b0522ac6e7c85e44cc460feed4013113b6e6
tree6e8c460c65809aabbed5c46898d6bbec9a993e64
parent7620d8800de108a686c61f64787e27e98bfaf3e2
playbin2: don't lose the ref to the volume element

Only release the ref to the volume element when it is controled by a sink. For
software volume we never have to fear that it will change.
gst/playback/gstplaysink.c