Skip to content
Commit 5e8643a5 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

record: Do not reuse QImage instances

While it's sound in principle, if it has been copied, as we call
QImage::bits, we won't be just allocating memory but also executing a
deep copy, processing a bunch of pixels only to be discarded.
Only keep the unprocessed frame for recordings as it's not necessary for
streams.
parent b9306403
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