From: Jeongmo Yang Date: Mon, 14 Oct 2019 01:33:16 +0000 (+0900) Subject: Revert "Fix bug for fps setting" X-Git-Tag: accepted/tizen/5.5/unified/20191031.023423^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F43%2F215643%2F1;p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git Revert "Fix bug for fps setting" - Fix recording failure on TM1 target.(TFDF-6096) This reverts commit bdad389a82163907448863d6c66cf71c8cc08c87. [Version] 0.10.186 [Profile] Common [Issue Type] Revert Change-Id: Iedc0061a664a16c24ad724af80d87029285d3055 Signed-off-by: Jeongmo Yang --- diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index 5750ff3..4eb9e7d 100644 --- a/packaging/libmm-camcorder.spec +++ b/packaging/libmm-camcorder.spec @@ -1,6 +1,6 @@ Name: libmm-camcorder Summary: Camera and recorder library -Version: 0.10.187 +Version: 0.10.186 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/mm_camcorder_attribute.c b/src/mm_camcorder_attribute.c index f8fe9cc..39c3ac4 100644 --- a/src/mm_camcorder_attribute.c +++ b/src/mm_camcorder_attribute.c @@ -2241,7 +2241,7 @@ bool _mmcamcorder_commit_camera_fps(MMHandleType handle, int attr_idx, const MMA mmf_return_val_if_fail(hcamcorder && value, FALSE); current_state = _mmcamcorder_get_state(handle); - if (current_state > MM_CAMCORDER_STATE_NULL) { + if (current_state > MM_CAMCORDER_STATE_PREPARE) { _mmcam_dbg_err("invalid state %d", current_state); hcamcorder->error_code = MM_ERROR_CAMCORDER_INVALID_STATE; return FALSE;