gstreamer-video: Don't take a &mut self in the constructor of VideoTimeCodeInterval

This commit is contained in:
Sebastian Dröge 2019-02-21 19:29:47 +02:00
parent 53c98db711
commit 0a96e0a80b

View file

@ -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();