Fix the bug in GetState()
authorEonseokLee <eonseok.lee@samsung.com>
Thu, 9 May 2013 09:01:44 +0000 (18:01 +0900)
committerEonseokLee <eonseok.lee@samsung.com>
Thu, 9 May 2013 09:01:44 +0000 (18:01 +0900)
Change-Id: I2ed3b38fe566eec71cd5d02f0fb6b520403107d1
Signed-off-by: EonseokLee <eonseok.lee@samsung.com>
src/FMedia_PlayerImpl.cpp

index f5b6261..3eb3abe 100644 (file)
@@ -866,7 +866,7 @@ _PlayerImpl::GetState(void)
                {
                        return PLAYER_STATE_OPENING;
                }
-               else if(__currentState = PLAYER_STATE_CLOSED)
+               else if(__currentState == PLAYER_STATE_CLOSED)
                {
                        return PLAYER_STATE_CLOSED;
                }