mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-30 07:26:53 +08:00
Revert "当调用mk_media_source_close(ptr, 1);时,主动注销流 (#1401)"
This reverts commit c97aa8483e
.
This commit is contained in:
parent
81747d114e
commit
595182cebb
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user