forked from mirrors/gstreamer-rs
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 sinkpad = self.static_pad("sink").expect("sink pad presence");
|
||||||
let _stream_lock = sinkpad.stream_lock();
|
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 {
|
unsafe {
|
||||||
(*ptr).req_spf = spf;
|
(*ptr).req_spf = spf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue