Change-Id: I557522c6d10697ad6736faf59e82f93a16caa2f0
player_s *handle = (player_s *)player;
int ret = MM_ERROR_NONE;
- if (!__player_state_validate(handle, PLAYER_STATE_IDLE)) {
- LOGE("[%s] PLAYER_ERROR_INVALID_STATE (0x%08x) : current state - %d", __FUNCTION__, PLAYER_ERROR_INVALID_STATE, handle->state);
+ if (handle->state != PLAYER_STATE_IDLE) {
+ LOGE("[%s] PLAYER_ERROR_INVALID_STATE(0x%08x) : current state - %d", __FUNCTION__, PLAYER_ERROR_INVALID_STATE, handle->state);
return PLAYER_ERROR_INVALID_STATE;
}
Name: mmsvc-player
Summary: A Media Player module for muse server
-Version: 0.2.75
+Version: 0.2.76
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0