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-duck
/
src
/
codecs
/
truemotion2.rs
diff --git
a/nihav-duck/src/codecs/truemotion2.rs
b/nihav-duck/src/codecs/truemotion2.rs
index c222c44c5aed1b27ae01c0e40f0461a89a5d6339..d6b4732402c297590e470f79d183cefc4a7aab06 100644
(file)
--- a/
nihav-duck/src/codecs/truemotion2.rs
+++ b/
nihav-duck/src/codecs/truemotion2.rs
@@
-581,7
+581,7
@@
impl NADecoder for TM2Decoder {
}
}
-pub fn get_decoder() -> Box<dyn NADecoder> {
+pub fn get_decoder() -> Box<dyn NADecoder
+ Send
> {
Box::new(TM2Decoder::new())
}