diff --git a/api/source/mk_player.cpp b/api/source/mk_player.cpp index e1fe2117..4d4fadd6 100755 --- a/api/source/mk_player.cpp +++ b/api/source/mk_player.cpp @@ -309,11 +309,9 @@ API_EXPORT float API_CALL mk_player_progress(mk_player ctx) { return obj->getProgress(); } - -API_EXPORT int API_CALL mk_player_progress_pos(mk_player ctx) -{ +API_EXPORT int API_CALL mk_player_progress_pos(mk_player ctx) { assert(ctx); - MediaPlayerForC& obj = **((MediaPlayerForC::Ptr*)ctx); + MediaPlayerForC &obj = **((MediaPlayerForC::Ptr *) ctx); return obj->getProgressPos(); } diff --git a/src/Rtsp/RtspSession.cpp b/src/Rtsp/RtspSession.cpp index e4d043f3..38b9a49e 100644 --- a/src/Rtsp/RtspSession.cpp +++ b/src/Rtsp/RtspSession.cpp @@ -782,7 +782,7 @@ void RtspSession::handleReq_Play(const Parser &parser) { //这是设置播放速度 auto speed = atof(strScale.data()); play_src->speed(speed); - InfoP(this) << "rtp set play speed:" << speed; + InfoP(this) << "rtsp set play speed:" << speed; } if (!strRange.empty()) {