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

Add two open_with implementations #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add two open_with implementations #57

wants to merge 1 commit into from

Conversation

xd009642
Copy link

I found myself wanting to use open_with on a decoder before knowing what the codec being decoded is (making open_as_with infeasible). This PR adds that implementation and also for encoder/subtitle.rs as that's the only encoder it's missing for.

I checked the ffmpeg docs and didn't see a reason why this usage would be invalid which would lead them to be left out but that is the case sorry for taking up your time.

Add open_with for `Decoder` and `encoder::Subtitle`
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