From 61afc57ed1b0a9607c0f88d32ac5f62d40078140 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Tue, 27 Apr 2021 23:05:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_player.cpp b/tests/test_player.cpp index 17b9554f..5a5005e5 100644 --- a/tests/test_player.cpp +++ b/tests/test_player.cpp @@ -96,7 +96,7 @@ int main(int argc, char *argv[]) { if(!merger){ merger.set(FrameMerger::h264_prefix); } - merger.get().inputFrame(frame,[&](uint32_t dts,uint32_t pts,const Buffer::Ptr &buffer){ + merger.get().inputFrame(frame,[&](uint32_t dts,uint32_t pts,const Buffer::Ptr &buffer, bool have_idr){ AVFrame *pFrame = nullptr; bool flag = decoder.get().inputVideo((unsigned char *) buffer->data(), buffer->size(), dts, &pFrame); if (flag) {