From 3b51368be2782a57d4d26762ebfe283894265d50 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 7 Oct 2024 19:17:00 +0200 Subject: [PATCH] Qt: Use inplace image mirroring in video sink --- rpcs3/rpcs3qt/qt_camera_video_sink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/qt_camera_video_sink.cpp b/rpcs3/rpcs3qt/qt_camera_video_sink.cpp index 7d83583a62..bcfd573afe 100644 --- a/rpcs3/rpcs3qt/qt_camera_video_sink.cpp +++ b/rpcs3/rpcs3qt/qt_camera_video_sink.cpp @@ -71,7 +71,7 @@ bool qt_camera_video_sink::present(const QVideoFrame& frame) // Flip image if necessary if (flip_horizontally || flip_vertically) { - image = image.mirrored(flip_horizontally, flip_vertically); + image.mirror(flip_horizontally, flip_vertically); } if (image.format() != QImage::Format_RGBA8888)