mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-01-12 00:04:03 +08:00
兼容gcc4.8编译器
This commit is contained in:
@@ -383,7 +383,8 @@ void HlsPlayerImp::onShutdown(const SockException &ex) {
|
||||
static_pointer_cast<HlsDemuxer>(_demuxer)->pushTask([weak_self, ex]() {
|
||||
auto strong_self = weak_self.lock();
|
||||
if (strong_self) {
|
||||
strong_self->PlayerImp<HlsPlayer, PlayerBase>::onShutdown(ex);
|
||||
strong_self->_demuxer = nullptr;
|
||||
strong_self->onShutdown(ex);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
@@ -50,7 +50,8 @@ void TsPlayerImp::onShutdown(const SockException &ex) {
|
||||
static_pointer_cast<HlsDemuxer>(_demuxer)->pushTask([weak_self, ex]() {
|
||||
auto strong_self = weak_self.lock();
|
||||
if (strong_self) {
|
||||
strong_self->PlayerImp<TsPlayer, PlayerBase>::onShutdown(ex);
|
||||
strong_self->_demuxer = nullptr;
|
||||
strong_self->onShutdown(ex);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user