zmwangx/rust-ffmpeg

Documentation bug: format::context::common::Context is not publically exported

Opened this issue · 0 comments

The return type of ffmpeg_next::format::input() is an Result<Input, Error>,
The type Input Deref's to a format::context::common::Context (located in src/format/context/common.rs#18), this provides various methods to work with an input (of which I am relying on Context::metadata to read ID3 tags), and given that some example code uses it I assume that it is meant to be publicly exported somewhere?

Not being publicly exported means that docs.rs will not show documentation on that type, despite being able to use the type in normal code.

ideal resolution: publicly exporting the Context type anywhere such that documentation can show the methods it exposes