diff --git a/src/codec/encoder/video.rs b/src/codec/encoder/video.rs index 881a03d..35380dd 100644 --- a/src/codec/encoder/video.rs +++ b/src/codec/encoder/video.rs @@ -122,6 +122,7 @@ impl Video { } #[inline] + #[cfg(feature = "ff_api_motion_est")] pub fn set_motion_estimation(&mut self, value: MotionEstimation) { unsafe { (*self.as_mut_ptr()).me_method = value.into();