PreviewFormat is read from supported list of camera
authorrahul varna <rahul.varna@samsung.com>
Mon, 5 Aug 2013 07:11:56 +0000 (12:41 +0530)
committerrahul varna <rahul.varna@samsung.com>
Mon, 5 Aug 2013 07:11:56 +0000 (12:41 +0530)
Signed-off-by: rahul varna <rahul.varna@samsung.com>
project/data/config.ini
project/src/Player/CameraPlayerForm.cpp

index 09da273..fb2406d 100644 (file)
@@ -139,8 +139,8 @@ captureresolutionWidth=-1
 captureresolutionHeight=-1
 previewresolutionWidth=-1
 previewresolutionHeight=-1
-PreviewFormat=4
-quality=2 
+PreviewFormat=-1
+quality=-1 
 
 #VideoRecorder
 previewByCallback=0
index d6e1d02..30ac1d7 100644 (file)
@@ -331,6 +331,7 @@ CameraPlayerForm::StopCamera()
 
        if ( (__pCamera.get() != null) && __pCamera->GetState() == CAMERA_STATE_PREVIEW)
        {
+               AppLog("camera stop preview");
                r = __pCamera->StopPreview();
                TryReturn(r == E_SUCCESS, ShowError(r, METHOD_FILE_LINENO),"[%s] __pCamera->StopPreview()", GetErrorMessage(r));