gst/playback/gstplaybin.c: Don't reference all sinks, but only the video- and audiosinks.
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Thu, 25 Nov 2004 20:46:55 +0000 (20:46 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Thu, 25 Nov 2004 20:46:55 +0000 (20:46 +0000)
commit861797e0a351e5c92aaf31f9076c68e72750d30f
tree0828ef1394f593e654cb3a7b9d339d25a07a2f0a
parentef4f455f9f07c03e11ba53145a624c20297bb882
gst/playback/gstplaybin.c: Don't reference all sinks, but only the video- and audiosinks.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element), (setup_sinks), (gst_play_bin_change_state):
Don't reference all sinks, but only the video- and audiosinks.
The vis. element should be disposed when we're done with it.
We don't have any reason to keep it around. This fixes warnings
when reusing playbin for playing multiple audio files with
vis. enabled. Also release audio device on pause - idea stolen
from Rhythmbox.
ChangeLog