mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-08 16:25:26 +00:00
pbutils: Remove unnecessary mut
This commit is contained in:
parent
88c21505d2
commit
8b6c99a84e
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ pub trait AudioVisualizerExtManual:
|
|||
let sinkpad = self.static_pad("sink").expect("sink pad presence");
|
||||
let _stream_lock = sinkpad.stream_lock();
|
||||
|
||||
let mut ptr = self.as_ptr() as *mut ffi::GstAudioVisualizer;
|
||||
let ptr = self.as_ptr() as *mut ffi::GstAudioVisualizer;
|
||||
unsafe {
|
||||
(*ptr).req_spf = spf;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue