frame/video: add set_kind()
method
This commit is contained in:
parent
20ea25cee5
commit
d908df7ab8
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user