diff --git a/src/Rtsp/RtspMediaSourceImp.h b/src/Rtsp/RtspMediaSourceImp.h index 35ce3f5e..53e9d4d0 100644 --- a/src/Rtsp/RtspMediaSourceImp.h +++ b/src/Rtsp/RtspMediaSourceImp.h @@ -89,8 +89,9 @@ public: _muxer->addTrack(track); track->addDelegate(_muxer); } - if(this->_all_demuxer_track_ready) + if (_all_demuxer_track_ready) { this->addTrackCompleted(); + } } /** @@ -110,7 +111,7 @@ public: if (_muxer) { _muxer->addTrackCompleted(); } - this->_all_demuxer_track_ready = true; + _all_demuxer_track_ready = true; } void resetTracks() override {