CCExtractor / rusty_ffmpeg

FFI bindings for FFmpeg inner libraries.
https://crates.io/crates/rusty_ffmpeg
MIT License
176 stars 26 forks source link

Rewrite bindgen Callback #41

Closed ldm0 closed 4 years ago

ldm0 commented 4 years ago

Part of a failed trial to solve #38, the problem is the callback receives unprefixed identifier, like the AVMEDIA_TYPE_VIDEO for AVMediaType_AVMEDIA_TYPE_VIDEO, which makes it impossible to trim out the AVMediaType.