From 0456cee336eddd4ce0889d1860502fbd782db758 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Sat, 15 Aug 2020 09:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0aac?= =?UTF-8?q?=E9=9D=99=E9=9F=B3=E5=89=8D=E7=BC=80=E6=9C=AA=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdpart/ZLToolKit | 2 +- src/Player/PlayerProxy.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdpart/ZLToolKit b/3rdpart/ZLToolKit index 5d3253d8..abd54834 160000 --- a/3rdpart/ZLToolKit +++ b/3rdpart/ZLToolKit @@ -1 +1 @@ -Subproject commit 5d3253d8950c33d43c040b22a0c9963236f2db4d +Subproject commit abd548345e5eeef5558439aa786391408a674b17 diff --git a/src/Player/PlayerProxy.cpp b/src/Player/PlayerProxy.cpp index 571a0019..294d77ba 100644 --- a/src/Player/PlayerProxy.cpp +++ b/src/Player/PlayerProxy.cpp @@ -197,7 +197,7 @@ public: auto audio_idx = frame->dts() / MUTE_ADTS_DATA_MS; if(_audio_idx != audio_idx){ _audio_idx = audio_idx; - auto aacFrame = std::make_shared(CodecAAC, (char *)MUTE_ADTS_DATA, MUTE_ADTS_DATA_LEN, _audio_idx * MUTE_ADTS_DATA_MS); + auto aacFrame = std::make_shared(CodecAAC, (char *)MUTE_ADTS_DATA, MUTE_ADTS_DATA_LEN, _audio_idx * MUTE_ADTS_DATA_MS, 0 ,ADTS_HEADER_LEN); FrameDispatcher::inputFrame(aacFrame); } }