From 1f005df2f3ff78458f332f9bf1cf2e78b6a8e8e4 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期四, 26 九月 2019 14:43:52 +0800 Subject: [PATCH] bug fix audio codec --- csrc/wrapper.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/csrc/wrapper.cpp b/csrc/wrapper.cpp index ab5d9e9..a630271 100644 --- a/csrc/wrapper.cpp +++ b/csrc/wrapper.cpp @@ -186,6 +186,10 @@ break; } + if (in->notVideoAudio(&data->getAVPacket())){ + continue; + } + if (!gb_ && id < 0){ id++; continue; -- Gitblit v1.8.0