修复编译问题

This commit is contained in:
xiongziliang
2019-03-27 18:58:43 +08:00
parent e44c2d5508
commit 5e7260c723
3 changed files with 3 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ int main(int argc, char *argv[]) {
player->setOnShutdown([](const SockException &ex) {
ErrorL << "OnShutdown:" << ex.what();
});
(*player)[RtspPlayer::kRtpType] = atoi(argv[2]);
(*player)[kRtpType] = atoi(argv[2]);
player->play(argv[1]);
SDLDisplayerHelper::Instance().runLoop();