[Release version 0.10.25] Fix build error 05/56205/1 accepted/tizen/mobile/20160106.003511 accepted/tizen/tv/20160106.003410 accepted/tizen/wearable/20160106.003440 submit/tizen/20160105.093305
authorJeongmo Yang <jm80.yang@samsung.com>
Tue, 5 Jan 2016 09:29:56 +0000 (18:29 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Tue, 5 Jan 2016 09:29:56 +0000 (18:29 +0900)
Change-Id: Ie4315dd5aa1b96a3945144a9a9278e50af20e785
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/libmm-camcorder.spec
src/mm_camcorder_client.c

index ea80a87..29b7431 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:       libmm-camcorder
 Summary:    Camera and recorder library
-Version:    0.10.24
+Version:    0.10.25
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index 10322ac..6e79a78 100644 (file)
@@ -1214,10 +1214,11 @@ int _mmcamcorder_client_create_preview_elements(MMHandleType handle, const char
        _MMCAMCORDER_PIPELINE_MAKE(sc, sc->element, _MMCAMCORDER_CLIENT_MAIN_PIPE, "camera_client", ret);
 
        /* create source */
-       if (hcamcorder->use_zero_copy_format)
+       if (hcamcorder->use_zero_copy_format) {
                _MMCAMCORDER_ELEMENT_MAKE(sc, sc->element, _MMCAMCORDER_CLIENT_VIDEOSRC_SRC, "tizenipcsrc", "camera_client_src", element_list, ret);
-       else
+       } else {
                _MMCAMCORDER_ELEMENT_MAKE(sc, sc->element, _MMCAMCORDER_CLIENT_VIDEOSRC_SRC, "shmsrc", "camera_client_src", element_list, ret);
+       }
 
        mm_camcorder_get_attributes(handle, NULL,
                                    MMCAM_DISPLAY_SOCKET_PATH, &socket_path, &socket_path_length,