From d2e099bd2351f472c39b60fa88b32a3561ce7c22 Mon Sep 17 00:00:00 2001 From: yingxiaodong Date: Sat, 9 Aug 2025 14:37:54 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=AD=A3=EF=BC=9AloadMP4File?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E6=96=87=E4=BB=B6=E6=97=B6=EF=BC=8C=E6=97=A0?= =?UTF-8?q?=E4=BA=BA=E8=A7=82=E7=9C=8B=E8=A7=A6=E5=8F=91=E5=85=B3=E9=97=AD?= =?UTF-8?q?=EF=BC=8C=E5=AF=BC=E8=87=B4=E7=A8=8B=E5=BA=8F=E5=B4=A9=E6=BA=83?= =?UTF-8?q?=20(#4387)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关闭文件播放的处理与文件播放动作不在一个线程,导致崩溃。 --- src/Common/MediaSource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/MediaSource.cpp b/src/Common/MediaSource.cpp index 39e62e17..b8ea2e62 100644 --- a/src/Common/MediaSource.cpp +++ b/src/Common/MediaSource.cpp @@ -700,7 +700,7 @@ void MediaSourceEvent::onReaderChanged(MediaSource &sender, int size){ strong_sender->close(false); } return false; - }, nullptr); + }, this->getOwnerPoller(sender)); } string MediaSourceEvent::getOriginUrl(MediaSource &sender) const {