Skip to content

fix(screen-recorder): cap the resolution for h264 codec - #486

Merged
Ly-sec merged 1 commit into
noctalia-dev:mainfrom
AlexNabokikh:main
Mar 25, 2026
Merged

fix(screen-recorder): cap the resolution for h264 codec#486
Ly-sec merged 1 commit into
noctalia-dev:mainfrom
AlexNabokikh:main

Conversation

@AlexNabokikh

Copy link
Copy Markdown
Contributor

The gpu-screen-recorder doesn't allow resolution higher than 4096x4096 when using h264.
So, if you try to start recording on the 5k screen (5120x2880) the plugin will fail with an error:
image

This small change caps the resolution to 4096x4096 when using h264.

@github-actions

Copy link
Copy Markdown
Contributor

@Ly-sec - this PR modifies your plugin. Please review when you have a chance.

@Ly-sec

Ly-sec commented Mar 25, 2026

Copy link
Copy Markdown
Member

Hey @AlexNabokikh , could you please also bump the version in manifest.json so it actually shows up as an update :)? Afterwards I'll gladly merge it!

@AlexNabokikh

Copy link
Copy Markdown
Contributor Author

@Ly-sec sorry, I forgot about it. This is done.
Please let me know if I need to adjust anything else.

@Ly-sec

Ly-sec commented Mar 25, 2026

Copy link
Copy Markdown
Member

@Ly-sec sorry, I forgot about it. This is done.
Please let me know if I need to adjust anything else.

That's all :) thank you very much!

@Ly-sec
Ly-sec merged commit 8a38c19 into noctalia-dev:main Mar 25, 2026
1 check passed
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.

2 participants