Skip to content

Commit

Permalink
fix(mediaplayer): fix miss out start message
Browse files Browse the repository at this point in the history
Signed-off-by: pingkai <pingkai010@gmail.com>
  • Loading branch information
pingkai authored and skufly committed Apr 28, 2020
1 parent 90319f2 commit 8ce5215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mediaPlayer/SuperMediaPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ namespace Cicada {

void SuperMediaPlayer::Start()
{
if ((PLAYER_INITIALZED == mPlayStatus) || (PLAYER_PREPARING == mPlayStatus)) {
if ((PLAYER_INITIALZED == mPlayStatus) || (PLAYER_PREPARING == mPlayStatus) || PLAYER_PREPARINIT == mPlayStatus) {
waitingForStart = true;
}

Expand Down

0 comments on commit 8ce5215

Please sign in to comment.