csrc/wrapper.cpp
@@ -45,6 +45,7 @@ ,audio_(false) ,gb_(0) ,cpu_(0) ,devid_(-1) ,run_dec_(false) ,run_stream_(true) ,run_rec_(false) @@ -66,6 +67,7 @@ ,audio_(false) ,gb_(0) ,cpu_(0) ,devid_(-1) ,run_dec_(false) ,run_stream_(true) ,run_rec_(false) @@ -108,6 +110,7 @@ prop.url_ = input; prop.rtsp_tcp_ = true; prop.gpu_acc_ = !cpu_; prop.gpu_index_ = devid_; std::unique_ptr<FormatIn> in(new FormatIn(prop.gpuAccl())); int flag = -1;