projects
/
platform
/
core
/
multimedia
/
libmm-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c00c88
)
player/subtitile: don't need to copy mem, app will use it after copying.
32/48632/2
author
Eunhae Choi
<eunhae1.choi@samsung.com>
Thu, 1 Oct 2015 07:36:07 +0000
(16:36 +0900)
committer
Eunhae Choi
<eunhae1.choi@samsung.com>
Thu, 1 Oct 2015 07:36:11 +0000
(16:36 +0900)
Change-Id: I35a23740431879f4a9168d1765644429e87aa8e2
src/server/mm_player_priv.c
patch
|
blob
|
history
diff --git
a/src/server/mm_player_priv.c
b/src/server/mm_player_priv.c
index
ef813ba
..
2919d32
100644
(file)
--- a/
src/server/mm_player_priv.c
+++ b/
src/server/mm_player_priv.c
@@
-6259,11
+6259,10
@@
__mmplayer_update_subtitle( GstElement* object, GstBuffer *buffer, GstPad *pad,
MMPLAYER_RETURN_VAL_IF_FAIL ( buffer, FALSE );
gst_buffer_map(buffer, &mapinfo, GST_MAP_READ);
- text =
g_memdup(mapinfo.data, mapinfo.size)
;
+ text =
mapinfo.data
;
text_size = mapinfo.size;
duration = GST_BUFFER_DURATION(buffer);
-
if ( player->set_mode.subtitle_off )
{
LOGD("subtitle is OFF.\n" );