From b892ac346fb7a47b689d8c0c215456cdaedaaa7c Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Wed, 10 Nov 2021 12:41:06 +0800 Subject: [PATCH] =?UTF-8?q?MediaSink:=20=E4=BC=98=E5=8C=96=E9=9D=99?= =?UTF-8?q?=E9=9F=B3=E9=9F=B3=E9=A2=91=E7=9B=B8=E5=85=B3=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Common/MediaSink.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Common/MediaSink.cpp b/src/Common/MediaSink.cpp index 9c5737ae..e3edb030 100644 --- a/src/Common/MediaSink.cpp +++ b/src/Common/MediaSink.cpp @@ -261,8 +261,8 @@ bool MediaSink::addMuteAudioTrack() { return onTrackFrame(frame); })); _mute_audio_maker = std::make_shared(); - _mute_audio_maker->addDelegate(std::make_shared([this](const Frame::Ptr &frame) { - return inputFrame(frame); + _mute_audio_maker->addDelegate(std::make_shared([audio](const Frame::Ptr &frame) { + return audio->inputFrame(frame); })); onTrackReady(audio); TraceL << "mute aac track added";