Added additional info in focus callback 17/96917/2
authorbhutani.92 <bhutani.92@samsung.com>
Thu, 10 Nov 2016 14:18:52 +0000 (19:48 +0530)
committerbhutani.92 <bhutani.92@samsung.com>
Thu, 10 Nov 2016 14:20:51 +0000 (19:50 +0530)
Change-Id: I47946708f1db168e2fd32c64698f40adb158a445
Signed-off-by: bhutani.92 <bhutani.92@samsung.com>
src/core/mp-player-control.c
src/core/mp-player-mgr.c

index fbc1c81..a522215 100755 (executable)
@@ -495,8 +495,6 @@ mp_play_control_play_pause(struct appdata *ad, bool play)
 
        SECURE_DEBUG("play [%d], ad->player_state: %d", play, ad->player_state);
 
-       /* int ret = 0; */
-
        _mp_play_control_del_longpressed_timer(ad);
 
        if (play) {
index 6fb8ba0..0f31253 100755 (executable)
@@ -1182,6 +1182,8 @@ void mp_player_focus_callback(sound_stream_info_h stream_info, sound_stream_focu
                                sound_manager_set_focus_reacquisition(ad->stream_info, EINA_FALSE);
                        } else if (!g_strcmp0(additional_info, "cam_capture")) {
                                sound_manager_set_focus_reacquisition(ad->stream_info, EINA_TRUE);
+                       } else if (!g_strcmp0(additional_info, "video_capture")) {
+                               sound_manager_set_focus_reacquisition(ad->stream_info, EINA_TRUE);
                        } else if (reacquire_state == EINA_TRUE) {
                                sound_manager_set_focus_reacquisition(ad->stream_info, EINA_FALSE);
                        }