Fix typo and value type 70/258270/2
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 13 May 2021 05:30:49 +0000 (14:30 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 13 May 2021 06:03:29 +0000 (06:03 +0000)
[Version] 0.10.234
[Issue Type] Typo

Change-Id: I8ee3c8f3869ae8f6788452a1028a9e46cb1c9cde
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/libmm-camcorder.spec
src/include/mm_camcorder_gstcommon.h
src/include/mm_camcorder_internal.h
src/mm_camcorder_attribute.c

index 3e5b763116d2163a4a6ab9bbbee6baec30ee501a..729f938bc374add7692a558c105296457067cb47 100755 (executable)
@@ -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
index f2d296b48c0ad9d69e5e49b1b834c2ff7e2357ff..ad10b73b64ac1184b0bff2ef368a9379292a9117 100644 (file)
@@ -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.
  *
index c1d17f2fab1bd80f6a0b606050183bef8d3ab409..6eef219353abfda1f2172ccc28f27050627f9fc9 100644 (file)
@@ -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 */
index 9390fe20fc9f3faae92311ca64cf289903c5f81c..cc71487b41f165649dda8bc4f343177689cd7614 100644 (file)
@@ -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,
                },
                {