, __flashModeIndex(INIT)
, __previewFormatIndex(INIT)
, __deviceOrientation(DEVICE_LANDSCAPE)
+ , __orientationAtCapture(DEVICE_LANDSCAPE)
, __currentListViewId(INIT)
, __brightnessSliderValue(INIT)
, __contrastSliderValue(INIT)
TryCatch(r == E_SUCCESS, ShowError(r, METHOD_FILE_LINENO),"[%s] __pCamera->Capture()", GetErrorMessage(r));
}
+ __orientationAtCapture = __deviceOrientation;
+
return r;
CATCH:
Footer * pFotter = null;
pFilePath->Clear();
pFilePath->Append(*pFile);
- pDeviceOrientation = new (std::nothrow) Integer(__deviceOrientation);
+ pDeviceOrientation = new (std::nothrow) Integer(__orientationAtCapture);
TryReturnVoid(pDeviceOrientation != null, "pDeviceOrientation string is null, no memory");
pArg = new (std::nothrow) ArrayList;
pFilePath->Clear();
pFilePath->Append(*(String*)__pCapturedFileNameList->GetAt(index));
- pDeviceOrientation = new (std::nothrow) Integer(__deviceOrientation);
+ pDeviceOrientation = new (std::nothrow) Integer(__orientationAtCapture);
TryReturnVoid(pDeviceOrientation != null, "pDeviceOrientation string is null, no memory");
pArg = new (std::nothrow) ArrayList;
{
tempContainerType = static_cast< MediaContainerType >(tempVal);
}
- tempContainerType = MEDIA_CONTAINER_MP4;
pTemp = (char*) &tempContainerType;
Draw();
AppLog("VideoRecorderForm::DoRotation");
+ TryReturn(__pCamera != null, r, "__pCamera handle is null");
r = CreateOverlayRegion();
TryReturn(r == E_SUCCESS, r, "[%s] CreateOverlayRegion", GetErrorMessage(r));