diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-01-17 20:36:41 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-01-17 20:36:41 +0300 |
commit | b2d017242204d5b395c52b101f6956985a57d911 (patch) | |
tree | 0c2f131af70dd06e28a0d7df45dca0e8b1707ab0 /audio | |
parent | 75d348709c74cb62f9b4dd64fb310ed311f22ac9 (diff) |
Replace `Foo::from_instance(foo)` with `foo.imp()`
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audiofx/src/ebur128level/imp.rs | 2 |
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); |