From 61b078debd40a6c2d8ace3ce54969e2923313e7b Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Thu, 13 May 2021 14:30:49 +0900 Subject: [PATCH] Fix typo and value type [Version] 0.10.234 [Issue Type] Typo Change-Id: I8ee3c8f3869ae8f6788452a1028a9e46cb1c9cde Signed-off-by: Jeongmo Yang --- packaging/libmm-camcorder.spec | 2 +- src/include/mm_camcorder_gstcommon.h | 2 +- src/include/mm_camcorder_internal.h | 4 ++-- src/mm_camcorder_attribute.c | 22 +++++++++++----------- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index 3e5b763..729f938 100755 --- 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.233 +Version: 0.10.234 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/include/mm_camcorder_gstcommon.h b/src/include/mm_camcorder_gstcommon.h index f2d296b..ad10b73 100644 --- a/src/include/mm_camcorder_gstcommon.h +++ b/src/include/mm_camcorder_gstcommon.h @@ -145,7 +145,7 @@ int _mmcamcorder_create_encodesink_bin(MMHandleType handle, MMCamcorderEncodebin /** * This function creates main pipeline of camcorder. * Basically, main pipeline of camcorder is composed of several bin(a bundle - * of elements). And if the appilcation wants to make pipeline working, the + * of elements). And if the application wants to make pipeline working, the * application assemble bin that is proper to that task. * When this function is called, bins that is needed for preview will be composed. * diff --git a/src/include/mm_camcorder_internal.h b/src/include/mm_camcorder_internal.h index c1d17f2..6eef219 100644 --- a/src/include/mm_camcorder_internal.h +++ b/src/include/mm_camcorder_internal.h @@ -308,7 +308,7 @@ do { \ } while (0) #define _MMCAMCORDER_STATE_SET_COUNT 3 /* checking interval */ -#define _MMCAMCORDER_STATE_CHECK_TOTALTIME 5000000L /* total wating time for state change */ +#define _MMCAMCORDER_STATE_CHECK_TOTALTIME 5000000L /* total waiting time for state change */ #define _MMCAMCORDER_STATE_CHECK_INTERVAL (50*1000) /* checking interval - 50ms*/ /** @@ -475,7 +475,7 @@ do { \ #define MM_CAMCORDER_ISO_NUM 10 /**< Number of ISO */ #define MM_CAMCORDER_AUTO_EXPOSURE_NUM 9 /**< Number of Auto exposure type */ #define MM_CAMCORDER_WDR_NUM 3 /**< Number of wide dynamic range */ -#define MM_CAMCORDER_FLIP_NUM 4 /**< Number of Filp mode */ +#define MM_CAMCORDER_FLIP_NUM 4 /**< Number of Flip mode */ #define MM_CAMCORDER_ROTATION_NUM 4 /**< Number of Rotation mode */ #define MM_CAMCORDER_AHS_NUM 4 /**< Number of anti-handshake */ #define MM_CAMCORDER_VIDEO_STABILIZATION_NUM 2 /**< Number of video stabilization */ diff --git a/src/mm_camcorder_attribute.c b/src/mm_camcorder_attribute.c index 9390fe2..cc71487 100644 --- a/src/mm_camcorder_attribute.c +++ b/src/mm_camcorder_attribute.c @@ -875,10 +875,10 @@ _mmcamcorder_alloc_attribute(MMHandleType handle) "tag-enable", MM_ATTRS_TYPE_INT, MM_ATTRS_FLAG_RW, - {(void*)0}, + {(void*)FALSE}, MM_ATTRS_VALID_TYPE_INT_RANGE, - {.int_min = 0}, - {.int_max = 1}, + {.int_min = FALSE}, + {.int_max = TRUE}, _mmcamcorder_commit_tag, }, { @@ -1132,8 +1132,8 @@ _mmcamcorder_alloc_attribute(MMHandleType handle) MM_ATTRS_FLAG_RW, {(void*)FALSE}, MM_ATTRS_VALID_TYPE_INT_RANGE, - {.int_min = 0}, - {.int_max = 1}, + {.int_min = FALSE}, + {.int_max = TRUE}, _mmcamcorder_commit_tag, }, /* 90 */ @@ -1199,8 +1199,8 @@ _mmcamcorder_alloc_attribute(MMHandleType handle) MM_ATTRS_FLAG_RW, {(void*)TRUE}, MM_ATTRS_VALID_TYPE_INT_RANGE, - {.int_min = 0}, - {.int_max = 1}, + {.int_min = FALSE}, + {.int_max = TRUE}, _mmcamcorder_commit_capture_sound_enable, }, { @@ -1598,8 +1598,8 @@ _mmcamcorder_alloc_attribute(MMHandleType handle) MM_ATTRS_FLAG_RW, {(void*)FALSE}, MM_ATTRS_VALID_TYPE_INT_RANGE, - {.int_min = 0}, - {.int_max = 1}, + {.int_min = FALSE}, + {.int_max = TRUE}, _mmcamcorder_commit_audio_replay_gain, }, { @@ -1686,8 +1686,8 @@ _mmcamcorder_alloc_attribute(MMHandleType handle) MM_ATTRS_FLAG_RW, {(void*)FALSE}, MM_ATTRS_VALID_TYPE_INT_RANGE, - {.int_min = 0}, - {.int_max = 1}, + {.int_min = FALSE}, + {.int_max = TRUE}, _mmcamcorder_commit_extra_preview, }, { -- 2.7.4