Skip to content

Add two open_with implementations#57

Open
xd009642 wants to merge 1 commit into
zmwangx:masterfrom
xd009642:open_with_impls
Open

Add two open_with implementations#57
xd009642 wants to merge 1 commit into
zmwangx:masterfrom
xd009642:open_with_impls

Conversation

@xd009642
Copy link
Copy Markdown

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