From 8b6c99a84e23ffd772e2a1c0d9bdc0a4196df7a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 11 Jul 2023 10:05:32 +0300 Subject: [PATCH] pbutils: Remove unnecessary `mut` --- gstreamer-pbutils/src/audio_visualizer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstreamer-pbutils/src/audio_visualizer.rs b/gstreamer-pbutils/src/audio_visualizer.rs index 56ee22dde..c0ddfb8aa 100644 --- a/gstreamer-pbutils/src/audio_visualizer.rs +++ b/gstreamer-pbutils/src/audio_visualizer.rs @@ -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; }