debug_log and debug_msg is same. so debug_log has been removed.
Change-Id: Iae002dea7b4fa55c92c1d195516a2dd58e966890
meta_data = g_base64_decode(value, &len);
if (!meta_data) {
- debug_log(RELEASE, "no picture");
+ debug_msg(RELEASE, "no picture");
return;
}
rotate = -rotate;
if (rotate < 0) // for backward compatibility
rotate += 360;
- debug_log(RELEASE, "Rotate: %f", rotate);
+ debug_msg(RELEASE, "Rotate: %f", rotate);
mmfile_free(formatContext->rotate);
formatContext->rotate = g_strdup_printf("%g", rotate);
}
} else if (!g_ascii_strcasecmp(tag->key, "metadata_block_picture")) {
__fill_picture_in_context(tag->value, formatContext);
} else {
- debug_log(RELEASE, "Not support metadata. [%s:%s]", tag->key, tag->value);
+ debug_msg(RELEASE, "Not support metadata. [%s:%s]", tag->key, tag->value);
}
}
}
#define FONT_COLOR_CYAN "\033[36m"
#define FONT_COLOR_GRAY "\033[37m"
-#define debug_log(mode, fmt, arg...) do { \
- if (mode == DEBUG) { \
- LOGD(FONT_COLOR_RESET fmt, ##arg); \
- } else if (mode == RELEASE) { \
- if (DEBUG_MODE == 1) \
- LOGD(FONT_COLOR_RESET fmt, ##arg); \
- } \
- } while (0)
-
#define debug_msg(mode, fmt, arg...) do { \
if (mode == DEBUG) { \
LOGD(FONT_COLOR_RESET fmt, ##arg); \
#else
-#define debug_log(mode, fmt, arg...) do { \
- if (mode == DEBUG) { \
- LOGD(" "fmt"", ##arg); \
- } else if (mode == RELEASE) { \
- if (DEBUG_MODE == 1) \
- LOGD(" "fmt"", ##arg); \
- } \
- } while (0)
-
#define debug_msg(mode, fmt, arg...) do { \
if (mode == DEBUG) { \
LOGD(" "fmt"", ##arg); \
Name: libmm-fileinfo
Summary: Media Fileinfo
-Version: 1.0.23
+Version: 1.0.24
Release: 0
Group: System/Libraries
License: Apache-2.0
if (pInfo->tagInfo[AV_ID3TAG_GENRE].value) {
/* Check integer */
if (!__get_genre_num(pInfo->tagInfo[AV_ID3TAG_GENRE].value, &genre_id)) {
- debug_log(RELEASE, "genre information is not integer [%s]", pInfo->tagInfo[AV_ID3TAG_GENRE].value);
+ debug_msg(RELEASE, "genre information is not integer [%s]", pInfo->tagInfo[AV_ID3TAG_GENRE].value);
return;
}