Fix typo
[platform/core/multimedia/libmm-camcorder.git] / src / mm_camcorder_gstcommon.c
index d508c3f..6124149 100644 (file)
@@ -555,7 +555,7 @@ int _mmcamcorder_create_preview_elements(MMHandleType handle)
        if (sc->is_modified_rate)
                MMCAMCORDER_G_OBJECT_SET(sc->element[_MMCAMCORDER_VIDEOSRC_SRC].gst, "high-speed-fps", fps);
 
-       /* Set basic infomation of videosrc element */
+       /* Set basic information of videosrc element */
        _mmcamcorder_conf_set_value_element_property(sc->element[_MMCAMCORDER_VIDEOSRC_SRC].gst, VideosrcElement);
 
        /* Set video device index */
@@ -904,7 +904,7 @@ int _mmcamcorder_create_audiosrc_bin(MMHandleType handle)
        MMCAMCORDER_G_OBJECT_SET(sc->encode_element[_MMCAMCORDER_AUDIOSRC_QUE].gst, "max-size-bytes", 0);
        MMCAMCORDER_G_OBJECT_SET(sc->encode_element[_MMCAMCORDER_AUDIOSRC_QUE].gst, "max-size-time", 0);
 
-       /* Set basic infomation */
+       /* Set basic information */
        if (a_enc != MM_AUDIO_CODEC_VORBIS) {
                int depth = 0;
                const gchar* format_name = NULL;
@@ -2289,11 +2289,11 @@ int _mmcamcorder_get_eos_message(MMHandleType handle)
        if (hcamcorder->error_code == MM_ERROR_NONE) {
                if (hcamcorder->type != MM_CAMCORDER_MODE_AUDIO) {
                        mmf_return_val_if_fail(sc->info_video, MM_ERROR_CAMCORDER_NOT_INITIALIZED);
-                       if (sc->info_video->b_commiting)
+                       if (sc->info_video->b_committing)
                                _mmcamcorder_video_handle_eos((MMHandleType)hcamcorder);
                } else {
                        mmf_return_val_if_fail(sc->info_audio, MM_ERROR_CAMCORDER_NOT_INITIALIZED);
-                       if (sc->info_audio->b_commiting)
+                       if (sc->info_audio->b_committing)
                                _mmcamcorder_audio_handle_eos((MMHandleType)hcamcorder);
                }
        } else {
@@ -2503,7 +2503,7 @@ bool _mmcamcorder_set_videosrc_rotation(MMHandleType handle, int videosrc_rotate
 
        sc = MMF_CAMCORDER_SUBCONTEXT(handle);
        if (!sc) {
-               _mmcam_dbg_log("sub context is not initailized");
+               _mmcam_dbg_log("sub context is not initialized");
                return TRUE;
        }