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";