Send this stuff over threads
The Rust Programming Language Forum
Send this stuff over threads
I have been lost for song long... I want to send this struct over the threads but the classic "some member that is under this struct doesnot implement the SEND trait" comes up. i did avoid this earlier by creating the struct inside the new thread but now i need to use this struct more than once.(creating every time is very expensive). the struct i want to send between threads: pub struct ThreadVideoStream { input_ctx: InputContext, // ffmpeg input ctx is type aliased decoder: VideoDe...
0 comments
No comments yet.