[0.3.118] fix bug about callback function ordering 36/209836/1
authorEunhye Choi <eunhae1.choi@samsung.com>
Thu, 11 Jul 2019 11:11:08 +0000 (20:11 +0900)
committerEunhye Choi <eunhae1.choi@samsung.com>
Thu, 11 Jul 2019 11:11:13 +0000 (20:11 +0900)
- fix bug about callback function ordering
  and set NULL which is not required callback.

Change-Id: I8ca14066966a4ccfadd814a6c212db5b383182a4

src/player.c

index 2976bb8..f7119a1 100644 (file)
@@ -1305,8 +1305,8 @@ static void (*_user_callbacks[MUSE_PLAYER_EVENT_TYPE_NUM])(callback_cb_info_s *c
 #ifdef TIZEN_FEATURE_EVAS_RENDERER
        __retrieve_buffer_cb_handler,           /* MUSE_PLAYER_EVENT_TYPE_RETURN_BUFFER */
 #endif
-       __media_packet_audio_frame_cb_handler,  /* MUSE_PLAYER_EVENT_TYPE_AUDIO_FRAME, DEPRECATED_PLAYER_INTERNAL_API */
        __disconnected_error_cb_handler,                /* MUSE_PLAYER_EVENT_TYPE_SERVICE_DISCONNECTED */
+       NULL,   /* MUSE_PLAYER_EVENT_TYPE_AUDIO_FRAME, DEPRECATED_PLAYER_INTERNAL_API */
 };
 
 gboolean _player_event_job_function(void *user_data)