projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make decoders Send-able
[nihav.git]
/
nihav-game
/
src
/
codecs
/
bmv.rs
diff --git
a/nihav-game/src/codecs/bmv.rs
b/nihav-game/src/codecs/bmv.rs
index 4417fb79057b07671bc47a71f94ccd3bbe09d88e..1ff32bb88899d6f76c0cd109a0d3a2781505bd4a 100644
(file)
--- a/
nihav-game/src/codecs/bmv.rs
+++ b/
nihav-game/src/codecs/bmv.rs
@@
-221,7
+221,7
@@
impl NADecoder for BMVVideoDecoder {
}
}
-pub fn get_decoder_video() -> Box<dyn NADecoder> {
+pub fn get_decoder_video() -> Box<dyn NADecoder
+ Send
> {
Box::new(BMVVideoDecoder::new())
}
Box::new(BMVVideoDecoder::new())
}
@@
-299,7
+299,7
@@
impl NADecoder for BMVAudioDecoder {
}
}
}
}
-pub fn get_decoder_audio() -> Box<dyn NADecoder> {
+pub fn get_decoder_audio() -> Box<dyn NADecoder
+ Send
> {
Box::new(BMVAudioDecoder::new())
}
Box::new(BMVAudioDecoder::new())
}