Support unprepare execution after prepare without set display 50/169350/3
authorHyunil <hyunil46.park@samsung.com>
Tue, 6 Feb 2018 06:22:56 +0000 (15:22 +0900)
committerHyunil Park <hyunil46.park@samsung.com>
Thu, 8 Feb 2018 01:19:02 +0000 (01:19 +0000)
Change-Id: I8af983faccf9ac653bf68c1b479f03f4ad7b692c

legacy/src/legacy_player.c

index 9f2216c..619f2df 100644 (file)
@@ -938,7 +938,6 @@ int legacy_player_unprepare(player_h player)
                return __player_convert_error_code(ret, (char *)__FUNCTION__);
        } else {
                handle->state = PLAYER_STATE_IDLE;
-               handle->display_type = PLAYER_DISPLAY_TYPE_NONE;
                handle->is_stopped = FALSE;
                handle->is_display_visible = TRUE;
                handle->is_progressive_download = FALSE;