pbutils: Remove unnecessary mut

This commit is contained in:
Sebastian Dröge 2023-07-11 10:05:32 +03:00
parent 88c21505d2
commit 8b6c99a84e

View file

@ -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;
}