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

fix(server): partial fallback for hardware transcoding #14611

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

mertalev
Copy link
Contributor

@mertalev mertalev commented Dec 9, 2024

Description

When hardware decoding is enabled and an error occurs, there is a fallback to sw decoding + hw encoding before falling back to full software. However, this does not actually work since the dri devices aren't provided in this second call. This PR fixes this and does some refactoring around how these interfaces are passed to the command builder.

How Has This Been Tested?

Tested that a ProRes video successfully falls back to sw decoding + hw encoding.

Copy link
Member

@danieldietzler danieldietzler left a comment

Choose a reason for hiding this comment

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

I have no idea about the actual content but the code looks good to me lol

@mertalev mertalev merged commit 60c783b into main Dec 10, 2024
39 checks passed
@mertalev mertalev deleted the fix/server-partial-transcoding-fallback branch December 10, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants