larksuite / rsmpeg

A Rust crate that exposes FFmpeg's power as much as possible.
https://docs.rs/rsmpeg/latest/rsmpeg/
MIT License
677 stars 41 forks source link

Can `impl Send` for AVCodecRef<'static> be added? #183

Closed nnazo closed 5 months ago

nnazo commented 5 months ago

I'm trying to use AVCodecContext in an async context but having trouble since AVCodecRef<'static> isn't Send

ldm0 commented 5 months ago

Yeah, *Ref and *Mut are Send. 0.15.1 was released for adding the trait bound.

nnazo commented 5 months ago

Thanks!