forked from mirrors/gstreamer-rs
gstreamer-video: Don't take a &mut self in the constructor of VideoTimeCodeInterval
This commit is contained in:
parent
53c98db711
commit
0a96e0a80b
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ impl VideoTimeCodeInterval {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new(&mut self, hours: u32, minutes: u32, seconds: u32, frames: u32) -> Self {
|
||||
pub fn new(hours: u32, minutes: u32, seconds: u32, frames: u32) -> Self {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
let mut v = mem::zeroed();
|
||||
|
|
Loading…
Reference in a new issue