1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Qt: Use inplace image mirroring in video sink

This commit is contained in:
Megamouse 2024-10-07 19:17:00 +02:00
parent 29901d65ed
commit 671e9970e6

View File

@ -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)