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

video/out/gpu/video: allow taking transparent screenshots #15647

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

na-na-hi
Copy link
Contributor

@na-na-hi na-na-hi commented Jan 5, 2025

Use RGBA format to take transparent screenshots when the video has an alpha channel.

Use RGBA format to take transparent screenshots when the video has
an alpha channel.
Copy link

github-actions bot commented Jan 5, 2025

Download the artifacts for this pull request:

Windows
macOS

@kasper93
Copy link
Contributor

kasper93 commented Jan 5, 2025

I don't particularity like this change right now, because it will force conversion (removing alpha) for default screenshot bgr format. But I guess it is the same in gpu_next, so whatever.

@kasper93 kasper93 merged commit c42b19b into mpv-player:master Jan 5, 2025
26 checks passed
@na-na-hi
Copy link
Contributor Author

na-na-hi commented Jan 5, 2025

I don't particularity like this change right now, because it will force conversion (removing alpha) for default screenshot bgr format.

Not sure what you are referring to. It was rgb0 format before which still required conversion to bgr0.

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