diff --git a/av_metrics/src/video/mod.rs b/av_metrics/src/video/mod.rs index b61adf3..32829ab 100644 --- a/av_metrics/src/video/mod.rs +++ b/av_metrics/src/video/mod.rs @@ -226,7 +226,7 @@ macro_rules! process_video { } trait VideoMetric { - type FrameResult; + type FrameResult: Clone + Send; type VideoResult; /// Generic method for internal use that processes multiple frames from a video @@ -242,10 +242,7 @@ trait VideoMetric { frame_limit: Option, ) -> Result> where - Self: std::marker::Send, Self: std::marker::Sync, - Self::FrameResult: std::marker::Send, - Self::FrameResult: std::clone::Clone, { if decoder1.get_bit_depth() != decoder2.get_bit_depth() { return Err(Box::new(MetricsError::InputMismatch {