frame/video: add set_kind() method

This commit is contained in:
lummax 2015-09-19 08:45:36 +02:00 committed by meh
parent 20ea25cee5
commit d908df7ab8

View File

@ -74,6 +74,13 @@ impl Video {
}
}
#[inline]
pub fn set_kind(&mut self, value: picture::Type) {
unsafe {
(*self.as_mut_ptr()).pict_type = value.into();
}
}
#[inline]
pub fn is_interlaced(&self) -> bool {
unsafe {