codec/encoder/video: add missing feature flag (motion_est)
This commit is contained in:
@ -122,6 +122,7 @@ impl Video {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
#[cfg(feature = "ff_api_motion_est")]
|
||||||
pub fn set_motion_estimation(&mut self, value: MotionEstimation) {
|
pub fn set_motion_estimation(&mut self, value: MotionEstimation) {
|
||||||
unsafe {
|
unsafe {
|
||||||
(*self.as_mut_ptr()).me_method = value.into();
|
(*self.as_mut_ptr()).me_method = value.into();
|
||||||
|
Reference in New Issue
Block a user