Gray grid instead of screen in SDL app only if fullscreen
Affected version
2.2.4, ubuntu 22.03, wayland
Bug summary
The target is the game "Terraria". When running in windowed mode, screen recording works properly. But as soon as I switch to fullscreen, gray grid starts.
Steps to reproduce
- Run SDL fullscreen app
- atl-Tab and start recording
- Switch back to the fullscreen app
- Stop recording / close Kooha
- Play the video - only gray grid shows during the fullscreen part
Expected behavior
Record fullscreen apps properly.
Relevant logs, screenshots, screencasts, etc.
as soon as full screen is entered, the error messages start going:
plane 0, no memory at offset 0
gst_video_frame_map_id: failed to map video frame plane 0
looks like frame buffer cannot be mapped? Maybe SDL apps need to be run with some kind of switch to allow mapping output buffer? Or maybe the function just tries to do it incorrectly?
This seem to be the same issue as in #214.
Thanks for the bug issue. Closing this in favor of https://github.com/SeaDve/Kooha/issues/270