projects
/
platform
/
core
/
multimedia
/
libmm-player.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[0.6.293] Fix Svace/Coverity issues
[platform/core/multimedia/libmm-player.git]
/
src
/
mm_player_priv.c
diff --git
a/src/mm_player_priv.c
b/src/mm_player_priv.c
index
855943e
..
3689bed
100644
(file)
--- a/
src/mm_player_priv.c
+++ b/
src/mm_player_priv.c
@@
-4261,9
+4261,9
@@
__mmplayer_update_subtitle(GstElement *object, GstBuffer *buffer, GstPad *pad, g
LOGI("subtitle duration is invalid, subtitle duration change "
"GST_CLOCK_TIME_NONE -> %" GST_TIME_FORMAT, GST_TIME_ARGS(duration));
}
LOGI("subtitle duration is invalid, subtitle duration change "
"GST_CLOCK_TIME_NONE -> %" GST_TIME_FORMAT, GST_TIME_ARGS(duration));
}
- msg.subtitle.duration = GST_TIME_AS_MSECONDS(duration);
+ msg.subtitle.duration =
(unsigned long)
GST_TIME_AS_MSECONDS(duration);
- LOGD("update subtitle : [%l
d
msec] %s", msg.subtitle.duration, (char *)msg.data);
+ LOGD("update subtitle : [%l
u
msec] %s", msg.subtitle.duration, (char *)msg.data);
MMPLAYER_POST_MSG(player, MM_MESSAGE_UPDATE_SUBTITLE, &msg);
gst_buffer_unmap(buffer, &mapinfo);
MMPLAYER_POST_MSG(player, MM_MESSAGE_UPDATE_SUBTITLE, &msg);
gst_buffer_unmap(buffer, &mapinfo);