Skip to content
Snippets Groups Projects
Commit 3a41e3d7 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Warn on software encode

parent 82ca8495
No related branches found
No related tags found
No related merge requests found
Pipeline #28644 failed
...@@ -38,6 +38,8 @@ bool OpenCVEncoder::encode(const cv::cuda::GpuMat &in, ftl::codecs::Packet &pkt) ...@@ -38,6 +38,8 @@ bool OpenCVEncoder::encode(const cv::cuda::GpuMat &in, ftl::codecs::Packet &pkt)
return false; return false;
} }
LOG(WARNING) << "Using Software Encoder!";
in.download(tmp_); in.download(tmp_);
if (!is_colour && in.type() == CV_32F) { if (!is_colour && in.type() == CV_32F) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment