void PS3EYECaptureApp::shutdown()
{
    // You should stop before exiting
    // otherwise the app will keep working
	if (eye)
		eye->stop();
    //
	delete[] frame_bgr;
	delete gui;
}
void PS3EyeSlowMoApp::shutdown()
{
    mShouldQuit = true;
    mThread.join();
    // You should stop before exiting
    // otherwise the app will keep working
    eye->stop();
    //
    delete[] frame_bgra;
    //delete gui;
    
}