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:
e5403cf
)
[v0.6.13]enlarge mq size to resolve block issue of seeking
64/97864/1
author
Eunhae Choi
<eunhae1.choi@samsung.com>
Tue, 15 Nov 2016 07:15:46 +0000
(16:15 +0900)
committer
Eunhae Choi
<eunhae1.choi@samsung.com>
Tue, 15 Nov 2016 07:15:46 +0000
(16:15 +0900)
Change-Id: I89058d414fe2e6f108357a1f54452eccb177b22e
src/mm_player_priv.c
patch
|
blob
|
history
diff --git
a/src/mm_player_priv.c
b/src/mm_player_priv.c
index
7af3b02
..
77c00f2
100644
(file)
--- a/
src/mm_player_priv.c
+++ b/
src/mm_player_priv.c
@@
-6714,6
+6714,11
@@
__mmplayer_gst_create_pipeline(mm_player_t* player) // @
(!MMPLAYER_IS_HTTP_STREAMING(player)))) {
elemId = MMPLAYER_M_AUTOPLUG;
element = __mmplayer_create_decodebin(player);
+ if (element) {
+ /* default size of mq in decodebin is 2M
+ * but it can cause blocking issue during seeking depends on content. */
+ g_object_set(G_OBJECT(element), "max-size-bytes", (5*1024*1024), NULL);
+ }
need_state_holder = FALSE;
} else {
elemId = MMPLAYER_M_TYPEFIND;