viewfinderbin: Fixes to video-sink handling
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Sun, 12 Dec 2010 22:33:24 +0000 (19:33 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 23 Dec 2010 16:18:57 +0000 (13:18 -0300)
commit014b8f97f8f621e245c4c5014fa80745ddf1b032
treecd625345ad84417f63ab891f809f1380dbd5c2bc
parent89142163b1e1d727ce3c4cf9d23b696d26afbb80
viewfinderbin: Fixes to video-sink handling

Handle video-sink more carefully, checking if it should
be already added to the bin, and removing old ones when
replacing.
gst/camerabin2/gstcamerabin2.c
gst/camerabin2/gstviewfinderbin.c
gst/camerabin2/gstviewfinderbin.h
tests/check/elements/camerabin2.c