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
Please register or sign in to comment