diff options
author | Jeongmo Yang <jm80.yang@samsung.com> | 2016-03-25 21:15:37 +0900 |
---|---|---|
committer | Jeongmo Yang <jm80.yang@samsung.com> | 2016-03-25 21:16:43 +0900 |
commit | bddaac8a98f92f57464b3722c067c40884d0f235 (patch) | |
tree | c5f789f974e421489dc9a301c8cacd02e786699d | |
parent | c4a41a376570702fb7310b1e245a625309f11e0f (diff) | |
download | mediavision-bddaac8a98f92f57464b3722c067c40884d0f235.tar.gz mediavision-bddaac8a98f92f57464b3722c067c40884d0f235.tar.bz2 mediavision-bddaac8a98f92f57464b3722c067c40884d0f235.zip |
[Release version 0.3.10] Fix crash issue in feature not supported casesubmit/tizen/20160325.123334accepted/tizen/wearable/20160325.134541accepted/tizen/tv/20160325.134536accepted/tizen/mobile/20160325.134533accepted/tizen/ivi/20160325.134545
Change-Id: I9242ee30015b03247f89a9063f58a50361d8ca66
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-rw-r--r-- | packaging/capi-media-vision.spec | 2 | ||||
-rw-r--r-- | src/mv_private.c | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/packaging/capi-media-vision.spec b/packaging/capi-media-vision.spec index 0695c26e..ba1a3634 100644 --- a/packaging/capi-media-vision.spec +++ b/packaging/capi-media-vision.spec @@ -1,6 +1,6 @@ Name: capi-media-vision Summary: Media Vision library for Tizen Native API -Version: 0.3.9 +Version: 0.3.10 Release: 0 Group: Multimedia/Framework License: Apache-2.0 and BSD-2.0 diff --git a/src/mv_private.c b/src/mv_private.c index 41615108..b46d5e72 100644 --- a/src/mv_private.c +++ b/src/mv_private.c @@ -28,28 +28,28 @@ bool __mv_check_system_info_feature_supported() const int nRetVal1 = system_info_get_platform_bool("http://tizen.org/feature/vision.barcode_detection", &isBarcodeDetectionSupported); if (nRetVal1 != SYSTEM_INFO_ERROR_NONE) { - LOGE("[%s] SYSTEM_INFO_ERROR: __FUNCTION__"); + LOGE("SYSTEM_INFO_ERROR: vision.barcode_detection"); return false; } const int nRetVal2 = system_info_get_platform_bool("http://tizen.org/feature/vision.barcode_generation", &isBarcodeGenerationSupported); if (nRetVal2 != SYSTEM_INFO_ERROR_NONE) { - LOGE("[%s] SYSTEM_INFO_ERROR: __FUNCTION__"); + LOGE("SYSTEM_INFO_ERROR: vision.barcode_generation"); return false; } const int nRetVal3 = system_info_get_platform_bool("http://tizen.org/feature/vision.face_recognition", &isFaceRecognitionSupported); if (nRetVal3 != SYSTEM_INFO_ERROR_NONE) { - LOGE("[%s] SYSTEM_INFO_ERROR: __FUNCTION__"); + LOGE("SYSTEM_INFO_ERROR: vision.face_recognition"); return false; } const int nRetVal4 = system_info_get_platform_bool("http://tizen.org/feature/vision.image_recognition", &isImageRecognitionSupported); if (nRetVal4 != SYSTEM_INFO_ERROR_NONE) { - LOGE("[%s] SYSTEM_INFO_ERROR: __FUNCTION__"); + LOGE("SYSTEM_INFO_ERROR: vision.image_recognition"); return false; } @@ -75,7 +75,7 @@ bool __mv_barcode_detect_check_system_info_feature_supported() const int nRetVal = system_info_get_platform_bool("http://tizen.org/feature/vision.barcode_detection", &isBarcodeDetectionSupported); if (nRetVal != SYSTEM_INFO_ERROR_NONE) { - LOGE("[%s] SYSTEM_INFO_ERROR: __FUNCTION__"); + LOGE("SYSTEM_INFO_ERROR: vision.barcode_detectio"); return false; } @@ -95,7 +95,7 @@ bool __mv_barcode_generate_check_system_info_feature_supported() const int nRetVal = system_info_get_platform_bool("http://tizen.org/feature/vision.barcode_generation", &isBarcodeGenerationSupported); if (nRetVal != SYSTEM_INFO_ERROR_NONE) { - LOGE("[%s] SYSTEM_INFO_ERROR: __FUNCTION__"); + LOGE("SYSTEM_INFO_ERROR: vision.barcode_generation"); return false; } @@ -115,7 +115,7 @@ bool __mv_face_check_system_info_feature_supported() const int nRetVal = system_info_get_platform_bool("http://tizen.org/feature/vision.face_recognition", &isFaceRecognitionSupported); if (nRetVal != SYSTEM_INFO_ERROR_NONE) { - LOGE("[%s] SYSTEM_INFO_ERROR: __FUNCTION__"); + LOGE("SYSTEM_INFO_ERROR: vision.face_recognition"); return false; } @@ -135,7 +135,7 @@ bool __mv_image_check_system_info_feature_supported() const int nRetVal = system_info_get_platform_bool("http://tizen.org/feature/vision.image_recognition", &isImageRecognitionSupported); if (nRetVal != SYSTEM_INFO_ERROR_NONE) { - LOGE("[%s] SYSTEM_INFO_ERROR: __FUNCTION__"); + LOGE("SYSTEM_INFO_ERROR: vision.image_recognition"); return false; } |