Commit aeec5c19 by 景炳强

fixed incorrect width argument

parent 7343b0e2
......@@ -162,7 +162,7 @@ void CaptureThread::run()
m_scale->scale((uint8_t*)srcBuff, 0, &dstBuff, &dstBuffSize);
std::shared_ptr<Image> image = std::make_shared<Image>(
std::make_shared<AVBuff>(dstBuff), 3840, 2610, bmdFormat8BitBGRA, cur_time, sequence);
std::make_shared<AVBuff>(dstBuff), 3840, 2160, bmdFormat8BitBGRA, cur_time, sequence);
emit PushFrame(image);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment