[Milk App 2.3.1 compatibility Test] player_start is always failed. 08/139908/2
authorJaechan Lee <jaechan3.lee@samsung.com>
Tue, 18 Jul 2017 06:00:41 +0000 (15:00 +0900)
committereunhae choi <eunhae1.choi@samsung.com>
Tue, 25 Jul 2017 08:52:52 +0000 (08:52 +0000)
[Model] POP
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Milk App compatibility Test
[Occurrence Version] N/A

[Problem] player_start is always failed.
07-18 13:49:19.969+0900 E/MM_PLAYER(P 3576, T 3638): mm_player_sound_focus.c: _mmplayer_sound_acquire_focus(188) > failed to acquire sound focus [0x80000226]
07-18 13:49:19.969+0900 E/MM_PLAYER(P 3576, T 3638): mm_player_priv.c: _mmplayer_resume(11378) > failed to acquire sound focus.
07-18 13:49:19.969+0900 E/TIZEN_N_PLAYER(P 3576, T 3638): legacy_player.c: __player_convert_error_code(270) > [legacy_player_start] PLAYER_ERROR_INVALID_OPERATION(0xffffffda) : core fw error(0x80000226)
07-18 13:49:19.969+0900 W/TIZEN_N_PLAYER(P 3633, T 3633): player.c: player_start(2652) > EXIT
[Cause & Measure] Cause : When player_unprepare is getting called after player_start, the opportunity to release Audio focus is not came any.
In general case, Audio focus is released by calling player_stop.
Measure : Remove unnecessary code to release Audio focus.
[Checking Method] N/A

[Team] MM FRAMEWORK
[Developer] JaeChan Lee
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I8ababbf9fadd843bbf6cd56ced0255f21602e756
(cherry picked from commit 600752cba1fe3dcaca653efe19ed9a991ed171f6)

src/mm_player_priv.c

index 21e34d3..7fea7d1 100644 (file)
@@ -12165,7 +12165,6 @@ __mmplayer_release_misc(mm_player_t* player)
        player->video_share_api_delta = 0;
        player->video_share_clock_delta = 0;
        player->sound_focus.keep_last_pos = FALSE;
-       player->sound_focus.acquired = FALSE;
        player->is_subtitle_force_drop = FALSE;
        player->play_subtitle = FALSE;
        player->adjust_subtitle_pos = 0;