Skip to content

fix external monitor bugs, mainly by calling CGDisplayCreateImage without passing the display frame #74

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

Merged
merged 3 commits into from
Jan 18, 2024

Conversation

jasonjmcghee
Copy link
Owner

It's not perfect, but if fixes #55.

It also allows viewing timeline on other monitors and maintains aspect ratio, and allows recording with multiple monitors.

I won't go so far as to say we support multiple monitors yet - but maybe i'll say we are "alpha".

It's ugly, but it "works". It definitely can be done much better.

A better approach might be, if the display changes, start a new video at that resolution.

We either need to integrate automatic scaling into ffmpeg, or handle it how i'm currently doing in this PR.

But I believe this unblocks a lot of users, so I want to get it in.

@jasonjmcghee jasonjmcghee merged commit 8260313 into main Jan 18, 2024
@jasonjmcghee jasonjmcghee deleted the fix-external-monitor-bugs branch January 18, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Recording" itself isn't happening (for some users, still unclear who/why)
1 participant