Avoid stopping recording duraing rotation if recording is not started:N_SE-44664
authorrahul varna <rahul.varna@samsung.com>
Thu, 4 Jul 2013 09:16:01 +0000 (14:46 +0530)
committerrahul varna <rahul.varna@samsung.com>
Thu, 4 Jul 2013 09:16:01 +0000 (14:46 +0530)
Signed-off-by: rahul varna <rahul.varna@samsung.com>
project/src/Recorder/VideoRecorderForm.cpp

index d410a95..13aa1e1 100644 (file)
@@ -5591,7 +5591,8 @@ VideoRecorderForm::OnOrientationChanged(const Tizen::Ui::Control& source, Tizen:
        TryReturnVoid(orientationStatus != __orientationStatus, " No change in orientation");
 
 
-       if (__pVideoRecorder->GetState() != RECORDER_STATE_RECORDING)
+       if (__pVideoRecorder->GetState() != RECORDER_STATE_RECORDING &&
+               __pVideoRecorder->GetState() != RECORDER_STATE_STARTING)
        {
                if (__pCamera->GetState() == CAMERA_STATE_PREVIEW)
                {