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

wayland: be less stupid with color surface creation #15126

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

Dudemanguy
Copy link
Member

Basically we only want to create the color surface if the compositor supports parametric image descriptions and if the vo is dmabuf-wayland. Instead of doing the weird dance of creating it in one spot and destroying it later, just only make the wayland object when we actually want it. It makes the logging less confusing as well.

Copy link

Download the artifacts for this pull request:

Windows
macOS

Basically we only want to create the color surface if the compositor
supports parametric image descriptions and if the vo is dmabuf-wayland.
Instead of doing the weird dance of creating it in one spot and
destroying it later, just only make the wayland object when we actually
want it. It makes the logging less confusing as well.
@Dudemanguy Dudemanguy merged commit c0fb6d0 into mpv-player:master Oct 19, 2024
23 checks passed
@Dudemanguy Dudemanguy deleted the wayland-color-logging branch October 19, 2024 05:10
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