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) {