rust-ffmpeg icon indicating copy to clipboard operation
rust-ffmpeg copied to clipboard

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

Open ultrabear opened this issue 1 year ago • 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

ultrabear avatar Aug 26 '24 21:08 ultrabear