Skip to content

fix: use canonical formats with vaapi format and overlay#164

Merged
jasongdove merged 2 commits into
mainfrom
fix/vaapi-use-canonical-formats
May 25, 2026
Merged

fix: use canonical formats with vaapi format and overlay#164
jasongdove merged 2 commits into
mainfrom
fix/vaapi-use-canonical-formats

Conversation

@jasongdove

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the VAAPI hardware acceleration implementation to ensure canonical pixel formats are used, specifically mapping Yuv420p10le to P010le and Yuv420p to Nv12. A review comment identifies that this mapping logic is duplicated in both format_filter and main_input_state, suggesting a refactor into a shared helper function to improve maintainability and consistency.

Comment thread crates/ffpipeline/src/accel/vaapi.rs Outdated
@jasongdove jasongdove merged commit 727568a into main May 25, 2026
8 checks passed
@jasongdove jasongdove deleted the fix/vaapi-use-canonical-formats branch May 25, 2026 16:47
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