调用vm_camera_preview_stop总是返回-2,停不下来,那个示例程序也是停不下来,应该注意哪里么?
if (vm_get_camera_status(g_cam.camera_handle, &g_cam.camera_status) < 0) {
return result;
}
if (VM_CAM_PREVIEW_STATUS == g_cam.camera_status) {
result = vm_camera_preview_stop(g_cam.camera_handle);
}
return result;