fix SVACE bug 17/155417/1
authorHyunil <hyunil46.park@samsung.com>
Fri, 13 Oct 2017 06:18:37 +0000 (15:18 +0900)
committerHyunil <hyunil46.park@samsung.com>
Fri, 13 Oct 2017 06:18:37 +0000 (15:18 +0900)
Change-Id: I04d1966df5396840af3db79be4a7a2af6d04b751
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
src/player.c

index ca6eb28..2a847fe 100644 (file)
@@ -2638,7 +2638,7 @@ int player_set_display(player_h player, player_display_type_e type, player_displ
                 * When the display type changes, Player need to destroy Evas_handle to set values of video output,
                 * Otherwise, the values is not set because of checking Evas_handle.
                 */
-               if (EVAS_HANDLE(pc)) {
+               if (CALLBACK_INFO(pc) && EVAS_HANDLE(pc)) {
                        LOGW("evas client already exists");
                        player_unset_media_packet_video_frame_decoded_cb(player);
                        PLAYER_DISP_DLSYM(pc->dl_handle, p_disp_destroy_evas_display, "disp_destroy_evas_display");