mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 11:31:06 +00:00
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!();
|
assert_initialized_main_thread!();
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut v = mem::zeroed();
|
let mut v = mem::zeroed();
|
||||||
|
|
Loading…
Reference in a new issue