camerabin-example: cleanups for mainloop and state-changes. Fixes #608042
authorStefan Kost <ensonic@users.sf.net>
Thu, 28 Jan 2010 13:00:32 +0000 (15:00 +0200)
committerStefan Kost <ensonic@users.sf.net>
Thu, 28 Jan 2010 13:02:23 +0000 (15:02 +0200)
commit0713748e1b63dea9298b00b10b8acffb01170368
tree4943640aabfa2d7bc4aba6997fdd2c63a3843f57
parentb0533bfdffa8679b75d23c518512f7679d1869b0
camerabin-example: cleanups for mainloop and state-changes. Fixes #608042

Start camerabin via idle handler to have the mainloop already running. Avoid
some unnecessary state changes. Cleanup the bus usage when restarting.
tests/examples/camerabin/gst-camera.c