From e4fcdad65895b796cf0e282b5566e4955355818a Mon Sep 17 00:00:00 2001 From: lummax Date: Fri, 20 May 2016 13:56:22 +0200 Subject: [PATCH] codec/encoder/video: add missing feature flag (motion_est) --- src/codec/encoder/video.rs | 1 + 1 file changed, 1 insertion(+) 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();