codec/encoder/video: add mb_lmin and mb_lmax writers

This commit is contained in:
meh
2015-10-01 20:39:50 +02:00
parent 1497c645be
commit f3d6f901be

View File

@ -337,6 +337,22 @@ impl Video {
self self
} }
pub fn set_mb_lmin(&mut self, value: i32) -> &mut Self {
unsafe {
(*self.as_mut_ptr()).mb_lmin = value as c_int;
}
self
}
pub fn set_mb_lmax(&mut self, value: i32) -> &mut Self {
unsafe {
(*self.as_mut_ptr()).mb_lmax = value as c_int;
}
self
}
} }
impl Deref for Video { impl Deref for Video {