Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-01-17 20:36:41 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-01-17 20:36:41 +0300
commitb2d017242204d5b395c52b101f6956985a57d911 (patch)
tree0c2f131af70dd06e28a0d7df45dca0e8b1707ab0 /audio
parent75d348709c74cb62f9b4dd64fb310ed311f22ac9 (diff)
Replace `Foo::from_instance(foo)` with `foo.imp()`
Diffstat (limited to 'audio')
-rw-r--r--audio/audiofx/src/ebur128level/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audiofx/src/ebur128level/imp.rs b/audio/audiofx/src/ebur128level/imp.rs
index 8228f68b7..41ba57917 100644
--- a/audio/audiofx/src/ebur128level/imp.rs
+++ b/audio/audiofx/src/ebur128level/imp.rs
@@ -130,7 +130,7 @@ impl ObjectImpl for EbuR128Level {
.action()
.class_handler(|_token, args| {
let this = args[0].get::<super::EbuR128Level>().unwrap();
- let imp = EbuR128Level::from_instance(&this);
+ let imp = this.imp();
gst_info!(CAT, obj: &this, "Resetting measurements",);
imp.reset.store(true, atomic::Ordering::SeqCst);