From 65eb475b323b3b9c28761b4e3009ab3d269963e1 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期四, 22 十月 2020 11:13:50 +0800 Subject: [PATCH] h264 cuvid av bsf and rec --- csrc/wrapper.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/csrc/wrapper.cpp b/csrc/wrapper.cpp index 0a0e84f..e0aef2d 100644 --- a/csrc/wrapper.cpp +++ b/csrc/wrapper.cpp @@ -112,7 +112,7 @@ prop.gpu_acc_ = !cpu_; prop.gpu_index_ = devid_; - std::unique_ptr<FormatIn> in(new FormatIn(prop.gpuAccl())); + std::unique_ptr<FormatIn> in(new FormatIn(prop, prop.gpuAccl())); int flag = -1; if (gb_){ flag = in->openGb28181(input, NULL); -- Gitblit v1.8.0