Skip to content
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

Windows: OBS can't capture minifb windows at other scales than 100% #84

Closed
hrydgard opened this issue Sep 19, 2019 · 8 comments
Closed

Comments

@hrydgard
Copy link

There's something wrong with either minifb's or OBS' DPI handling. If you have scaling set to anything other than 100%, OBS window capture captures a lot of black area around the window and scales things wrong.

This could of course also be a bug in OBS. Should probably report to them too.

(OBS: https://obsproject.com ).

@emoon
Copy link
Owner

emoon commented Sep 20, 2019

On which platform is this? Also is this for the Rust or C version of minifb?

@hrydgard
Copy link
Author

Oh, apologies, filed on the wrong minifb repo. Indeed the rust one, please move this issue (github now has issue transfer support).

Platform is indicated in the issue title - it's on Windows, Windows 10 latest release.

@emoon emoon transferred this issue from emoon/minifb Sep 20, 2019
@emoon
Copy link
Owner

emoon commented Sep 20, 2019

Alright. It might be an issue in minifb as it's untested for other DPIs than 100%

@emoon
Copy link
Owner

emoon commented Sep 22, 2019

I looked at this today and it seems like the minifb windows gets scaled up correctly while OBS doesn't seem to understand it. A workaround in OBS is to to right click on the window capture (in view) and add cropping on the sides.

@emoon
Copy link
Owner

emoon commented Oct 6, 2019

I wonder if you have looked more into this? From what I can see minifb is behaving correct

@hrydgard
Copy link
Author

hrydgard commented Oct 6, 2019

Yeah sorry I haven't had time. I'll make a little repro and report it to OBS soon.

@emoon
Copy link
Owner

emoon commented Oct 6, 2019

Alright. np!

@emoon
Copy link
Owner

emoon commented Dec 19, 2019

Closing for now

@emoon emoon closed this as completed Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants