mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
Qt: Use inplace image mirroring in video sink
This commit is contained in:
parent
0111fd0d0e
commit
3b51368be2
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ bool qt_camera_video_sink::present(const QVideoFrame& frame)
|
||||||
// Flip image if necessary
|
// Flip image if necessary
|
||||||
if (flip_horizontally || flip_vertically)
|
if (flip_horizontally || flip_vertically)
|
||||||
{
|
{
|
||||||
image = image.mirrored(flip_horizontally, flip_vertically);
|
image.mirror(flip_horizontally, flip_vertically);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (image.format() != QImage::Format_RGBA8888)
|
if (image.format() != QImage::Format_RGBA8888)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue