New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix video output having small black borders all the times #11889
Conversation
To maintain compatibility with some video encoders, the whole output buffer was scaled to be a multiple of 4. This change makes it so that that rule only applies while actively recording (or taking screenshots, even if it might not be necessary for that case).
Currently screenshot dumping works well, so I'm going to need to double check this later. |
While you can't use screenshots, adding some print-screen captures to the OP would be helpful. (I too will try this out later) |
Screenshots and videos look identical with this change, that's the point :D. |
Can you give an example of an affected game? All of the ones I've tried happen to use an XFB size that's divisible by 4 in both directions (640 by 448, 456, 480 or 528, and also 608 by 456 for Skyward Sword). I'm sure there's some that don't follow that but it seems to be rare (at least for US games). |
Screenshots and recordings dump screenshots with the window resolution, not the XFB resolution (not sure why exactly, they should just dump the XFB IMO). There's no individual case. Everything works the same as before, this just prevents snapping the game window target resolution to a multiple of 4 when NOT taking a screenshot or video. Otherwise there would be small black bars at the edges of the window and the game image fully fit it. |
Have you tried enabling "Dump at internal resolution"? It's an option in the advanced tab from the graphics settings... |
No, that's not related to this PR. I'm just fixing the black bars between the game window and the game rendering that fits it. |
To maintain compatibility with some video encoders, the whole output buffer was scaled to be a multiple of 4. This change makes it so that that rule only applies while actively recording (or taking screenshots, even if it might not be necessary for that case).