Commit f1e51b4
committed
Fix upside-down camera image on macOS
CameraSurface flipped incoming frames (horizontal mirror + 180-degree
rotation, which nets to a vertical flip) as a historical OpenGL orientation
workaround. Qt 6 already delivers upright, top-left-origin frames — the same
as the video-file path (VideoPlayerImpl), which uses them untransformed
through the same GL upload — so the flip only made camera sources appear
upside-down. Use the frame as-is on macOS (and Windows, which was already
untransformed); Linux keeps its existing branch.1 parent cef7b3e commit f1e51b4
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | | - | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
0 commit comments