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

common: don't force terminal log buffer to small size #13363

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

sfan5
Copy link
Member

@sfan5 sfan5 commented Jan 26, 2024

No description provided.

Using the 'terminal-default' log level a client can request
to get all messages that would normally appear on the terminal.

8c2d73f changed the size of the
relevant buffer to 100 lines, which was prone to quickly overflowing
once you enable verbose or debug output.
This size is kept for the early terminal buffer but now enlarged
once a client actually requests this log level. This fixes the overflow
risk while not consuming more resources if this feature is unused.
@sfan5 sfan5 merged commit dcf8adf into mpv-player:master Jan 27, 2024
11 checks passed
@sfan5 sfan5 deleted the termbuf branch January 27, 2024 09:04
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.

1 participant