Skip to content

Commit

Permalink
Qt: Use inplace image mirroring in video sink
Browse files Browse the repository at this point in the history
  • Loading branch information
Megamouse committed Oct 12, 2024
1 parent 8fac136 commit 81483fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/rpcs3qt/qt_camera_video_sink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 81483fd

Please sign in to comment.