Fix usage of _width/_height (they are the output resolution, not the screen resolution)

That avoids unnecessary resizing of the output image with every transferFrame call
This commit is contained in:
LordGrey
2024-01-01 12:32:30 +01:00
parent 77f7a6b3ba
commit 6df45507bf
5 changed files with 130 additions and 119 deletions

View File

@@ -5,7 +5,6 @@
AudioWrapper::AudioWrapper()
: GrabberWrapper("AudioGrabber", &_grabber)
, _grabber()
{
// register the image type
qRegisterMetaType<Image<ColorRgb>>("Image<ColorRgb>");