From 19c46158424872eb7c33e6468f5cda6dea0f0ebd Mon Sep 17 00:00:00 2001 From: Eunhae Choi Date: Wed, 30 Nov 2016 18:53:47 +0900 Subject: [PATCH] [v0.6.15] set pause state when doing stop for hls Change-Id: I507b204b6ed7a4aebf20878218fbf641fba54403 (cherry picked from commit cf3249c65bb1ee96feb21de92954b4d10c812f33) --- packaging/libmm-player.spec | 2 +- src/mm_player_priv.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packaging/libmm-player.spec b/packaging/libmm-player.spec index 72bd49d..1daa09e 100644 --- a/packaging/libmm-player.spec +++ b/packaging/libmm-player.spec @@ -1,6 +1,6 @@ Name: libmm-player Summary: Multimedia Framework Player Library -Version: 0.6.14 +Version: 0.6.15 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/mm_player_priv.c b/src/mm_player_priv.c index 0b1d31e..7e1c6b0 100644 --- a/src/mm_player_priv.c +++ b/src/mm_player_priv.c @@ -7262,8 +7262,7 @@ static int __gst_stop(mm_player_t* player) // @ /* Just set state to PAUESED and the rewind. it's usual player behavior. */ timeout = MMPLAYER_STATE_CHANGE_TIMEOUT(player); - if (player->profile.uri_type == MM_PLAYER_URI_TYPE_BUFF || - player->profile.uri_type == MM_PLAYER_URI_TYPE_HLS) { + if (player->profile.uri_type == MM_PLAYER_URI_TYPE_BUFF) { state = GST_STATE_READY; } else { state = GST_STATE_PAUSED; -- 2.7.4