统一代码风格

This commit is contained in:
xia-chu 2021-04-30 14:31:08 +08:00
parent 1d0eca512b
commit 6274cbdd28

View File

@ -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 {