Revert "当调用mk_media_source_close(ptr, 1);时,主动注销流 (#1401)"

This reverts commit c97aa8483e.
This commit is contained in:
ziyue 2022-02-09 14:21:35 +08:00
parent 81747d114e
commit 595182cebb

View File

@ -210,7 +210,7 @@ bool MediaSource::close(bool force) {
if(!listener){ if(!listener){
return false; return false;
} }
return listener->close(*this,force) && unregist(); return listener->close(*this,force);
} }
void MediaSource::onReaderChanged(int size) { void MediaSource::onReaderChanged(int size) {