LOGW("no need to interrupt, so leave");
} else {
if (resource_released) {
+ MMMessageParamType msg = {0, };
+ unsigned long pos = 0;
+
player->resource_manager.by_rm_cb = TRUE; /* will be reset in state cb */
+
+ /* get last play position */
+ if (_mmplayer_get_position((MMHandleType)player, MM_PLAYER_POS_FORMAT_TIME, &pos) != MM_ERROR_NONE) {
+ LOGW("failed to get play position.");
+ } else {
+ msg.union_type = MM_MSG_UNION_TIME;
+ msg.time.elapsed = (unsigned int)pos;
+ MMPLAYER_POST_MSG(player, MM_MESSAGE_PLAY_POSITION, &msg);
+ }
LOGD("video resource conflict so, resource will be freed by unrealizing");
result = _mmplayer_unrealize((MMHandleType)player);
if (result)