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
/
gremlinvideo.rs
diff --git
a/nihav-game/src/codecs/gremlinvideo.rs
b/nihav-game/src/codecs/gremlinvideo.rs
index 67be656be3596fdab79aeb0d7cfabbe00668241c..0ec38619f01aec0af0f09364a6e0740b42999fa9 100644
(file)
--- a/
nihav-game/src/codecs/gremlinvideo.rs
+++ b/
nihav-game/src/codecs/gremlinvideo.rs
@@
-460,7
+460,7
@@
impl NADecoder for GremlinVideoDecoder {
}
}
}
}
-pub fn get_decoder_video() -> Box<dyn NADecoder> {
+pub fn get_decoder_video() -> Box<dyn NADecoder
+ Send
> {
Box::new(GremlinVideoDecoder::new())
}
Box::new(GremlinVideoDecoder::new())
}
@@
-554,7
+554,7
@@
impl NADecoder for GremlinAudioDecoder {
}
}
}
}
-pub fn get_decoder_audio() -> Box<dyn NADecoder> {
+pub fn get_decoder_audio() -> Box<dyn NADecoder
+ Send
> {
Box::new(GremlinAudioDecoder::new())
}
Box::new(GremlinAudioDecoder::new())
}