mirror of
https://github.com/encounter/rust-ffmpeg.git
synced 2026-07-10 21:18:39 -07:00
util/frame/video: add repeat getter
This commit is contained in:
@@ -151,6 +151,12 @@ impl Video {
|
||||
(*self.ptr).display_picture_number as usize
|
||||
}
|
||||
}
|
||||
|
||||
pub fn repeat(&self) -> f64 {
|
||||
unsafe {
|
||||
(*self.ptr).repeat_pict as f64
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unsafe impl Send for Video { }
|
||||
|
||||
Reference in New Issue
Block a user