Stop viewfinder after the pipeline reaches idle state.
authorMohammed Sameer <msameer@foolab.org>
Sat, 8 Dec 2012 22:50:41 +0000 (00:50 +0200)
committerMohammed Sameer <msameer@foolab.org>
Sat, 8 Dec 2012 22:50:41 +0000 (00:50 +0200)
commite294eccc8b297ea851c0654d933a0d61e93e0b4e
tree325d3a14a2c006f54f79e0500264b7a299da3f5c
parentee8cba235689d764e3cd132c4063c3dceaec841d
Stop viewfinder after the pipeline reaches idle state.

It might be that a frame arrives after we stop the viewfinder but before
we stop the pipeline.
That frame will reinitialize the viewfinder again
lib/qtcamdevice.cpp