From 749ab51e87f6a22b6c519ce0f290ca62eefbe49f Mon Sep 17 00:00:00 2001 From: Eunhae Choi Date: Tue, 15 Nov 2016 16:15:46 +0900 Subject: [PATCH] [v0.6.13]enlarge mq size to resolve block issue of seeking Change-Id: I89058d414fe2e6f108357a1f54452eccb177b22e (cherry picked from commit a24d9ed511a6fb0f475df83b736479dc12032023) --- src/mm_player_priv.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mm_player_priv.c b/src/mm_player_priv.c index 7af3b02..77c00f2 100644 --- 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; -- 2.7.4