修复一个小bug

This commit is contained in:
xiongziliang 2018-11-19 11:34:32 +08:00
parent 8aa773bd49
commit 84129aefdf

View File

@ -44,8 +44,8 @@ void MediaPlayer::play(const char* strUrl) {
//协议切换
_strPrefix = strPrefix;
_parser = PlayerBase::createPlayer(strUrl);
_parser->setOnShutdown(_shutdownCB);
}
_parser->setOnShutdown(_shutdownCB);
_parser->setOnPlayResult(_playResultCB);
_parser->mINI::operator=(*this);
_parser->play(strUrl);