Files
swiftcontrol/packages/screen_recorder/windows
Jonas Bark d649e396b9 fix(screen_recorder): correct upside-down Windows recording
WGC/D3D surfaces are top-down, but the MF SinkWriter's RGB32->NV12
conversion treats uncompressed RGB as bottom-up, so feeding our top-down
buffer through produced a vertically-flipped (upside-down) recording.
Cancel the fixed flip by writing each source row into the mirrored
destination row, handing MF a bottom-up buffer. Same number of memcpys,
no extra cost.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 11:55:49 +02:00
..