summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mv_barcode/barcode_generator/src/mv_barcode_generate_open.cpp2
-rw-r--r--mv_face/face/src/FaceRecognitionModel.cpp4
-rw-r--r--mv_surveillance/surveillance/src/EventManager.cpp4
-rw-r--r--mv_surveillance/surveillance/src/EventTrigger.cpp4
-rw-r--r--packaging/capi-media-vision.spec2
5 files changed, 8 insertions, 8 deletions
diff --git a/mv_barcode/barcode_generator/src/mv_barcode_generate_open.cpp b/mv_barcode/barcode_generator/src/mv_barcode_generate_open.cpp
index 0663866b..62a3c823 100644
--- a/mv_barcode/barcode_generator/src/mv_barcode_generate_open.cpp
+++ b/mv_barcode/barcode_generator/src/mv_barcode_generate_open.cpp
@@ -37,7 +37,7 @@ int alphanumToUpper(std::string& strToTransform)
if (std::string::npos != tempString.find_first_not_of(
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:")) {
LOGE("Barcode message can't be converted according to support "
- "alphanumeric (0..9, A..Z, space, $, %, *, +, -, ., /, :) "
+ "alphanumeric (0..9, A..Z, space, $, %%, *, +, -, ., /, :) "
"mode: %s", strToTransform.c_str());
return BARCODE_ERROR_INVALID_DATA;
}
diff --git a/mv_face/face/src/FaceRecognitionModel.cpp b/mv_face/face/src/FaceRecognitionModel.cpp
index 2b333129..1037be03 100644
--- a/mv_face/face/src/FaceRecognitionModel.cpp
+++ b/mv_face/face/src/FaceRecognitionModel.cpp
@@ -432,7 +432,7 @@ int FaceRecognitionModel::learn(const FaceRecognitionModelConfig& config)
learnedLabels.insert(it->first);
if (!isUnisize) {
- LOGD("%u examples has been added with label %i",
+ LOGD("%zu examples has been added with label %i",
it->second.size(), it->first);
samples.insert(samples.end(), it->second.begin(), it->second.end());
} else {
@@ -451,7 +451,7 @@ int FaceRecognitionModel::learn(const FaceRecognitionModelConfig& config)
const size_t labelsSize = labels.size();
if (0 != samplesSize && samplesSize == labelsSize) {
- LOGD("Start to learn the model for %u samples and %u labels",
+ LOGD("Start to learn the model for %zu samples and %zu labels",
samplesSize, labelsSize);
if (m_learnAlgorithmConfig != config || m_recognizer.empty())
diff --git a/mv_surveillance/surveillance/src/EventManager.cpp b/mv_surveillance/surveillance/src/EventManager.cpp
index f3830926..77787f39 100644
--- a/mv_surveillance/surveillance/src/EventManager.cpp
+++ b/mv_surveillance/surveillance/src/EventManager.cpp
@@ -116,7 +116,7 @@ int EventManager::registerEvent(
for (; iter != __eventTriggers[videoStreamId].end(); ++iter) {
if ((*iter)->isCallbackSubscribed(triggerId)) {
- LOGE("Callback with id %d is already subscribed. "
+ LOGE("Callback with id %ld is already subscribed. "
"Event registering failed.", triggerId);
return MEDIA_VISION_ERROR_INVALID_PARAMETER;
}
@@ -334,7 +334,7 @@ int EventManager::pushSource(mv_source_h source, int videoStreamId)
error = (*iter)->pushSource(source, graySource, grayImage);
if (error != MEDIA_VISION_ERROR_NONE)
- LOGE("Push source failed for event ", (*iter)->getEventType().c_str());
+ LOGE("Push source failed for event %s", (*iter)->getEventType().c_str());
}
error = mv_destroy_source(graySource);
diff --git a/mv_surveillance/surveillance/src/EventTrigger.cpp b/mv_surveillance/surveillance/src/EventTrigger.cpp
index 48a64da2..d6589906 100644
--- a/mv_surveillance/surveillance/src/EventTrigger.cpp
+++ b/mv_surveillance/surveillance/src/EventTrigger.cpp
@@ -74,7 +74,7 @@ bool EventTrigger::subscribeCallback(
bool isInternal)
{
if (isCallbackSubscribed(triggerId)) {
- LOGE("Callback with id %d is already subscribed. "
+ LOGE("Callback with id %ld is already subscribed. "
"Callback subscribing failed.", triggerId);
return false;
}
@@ -102,7 +102,7 @@ bool EventTrigger::unsubscribeCallback(long int triggerId)
CallbackDataMapIter iter = __callbackDataMap.find(triggerId);
if (iter == __callbackDataMap.end()) {
- LOGE("Callback with id %d was not subscribed. "
+ LOGE("Callback with id %ld was not subscribed. "
"Callback unsubscribing failed.", triggerId);
return false;
}
diff --git a/packaging/capi-media-vision.spec b/packaging/capi-media-vision.spec
index ab8ad098..d87c2bf9 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.25
+Version: 0.3.26
Release: 0
Group: Multimedia/Framework
License: Apache-2.0 and BSD-3-Clause