diff options
Diffstat (limited to 'audio/audiofx/src/ebur128level/imp.rs')
-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 3033db17..8b9d7236 100644 --- a/audio/audiofx/src/ebur128level/imp.rs +++ b/audio/audiofx/src/ebur128level/imp.rs @@ -436,7 +436,7 @@ impl BaseTransformImpl for EbuR128Level { let mut timestamp = buf.pts(); let segment = element.segment().downcast::<gst::ClockTime>().ok(); - let buf = gst_audio::AudioBufferRef::from_buffer_ref_readable(&buf, &state.info).map_err( + let buf = gst_audio::AudioBufferRef::from_buffer_ref_readable(buf, &state.info).map_err( |_| { gst::element_error!(element, gst::ResourceError::Read, ["Failed to map buffer"]); gst::FlowError::Error |