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
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2019-12-18 08:50:10 +0300
committerSebastian Dröge <sebastian@centricular.com>2019-12-18 09:17:42 +0300
commitccfb8246be63fac8316d99e8c79da3d1d3195be9 (patch)
tree80218b21353c32a22eecf21a1f0bbe4056c2f5ad /gst-plugin-audiofx/src/audioecho.rs
parentef8adbf113908a00f1c8644fcf4c1cb8c2a24093 (diff)
Fix compilation after gstreamer-rs!383
Diffstat (limited to 'gst-plugin-audiofx/src/audioecho.rs')
-rw-r--r--gst-plugin-audiofx/src/audioecho.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-plugin-audiofx/src/audioecho.rs b/gst-plugin-audiofx/src/audioecho.rs
index 488191e29..0fec15381 100644
--- a/gst-plugin-audiofx/src/audioecho.rs
+++ b/gst-plugin-audiofx/src/audioecho.rs
@@ -265,7 +265,7 @@ impl BaseTransformImpl for AudioEcho {
let mut state_guard = self.state.lock().unwrap();
let state = state_guard.as_mut().ok_or(gst::FlowError::NotNegotiated)?;
- let mut map = buf.map_writable().ok_or(gst::FlowError::Error)?;
+ let mut map = buf.map_writable().map_err(|_| gst::FlowError::Error)?;
match state.info.format() {
gst_audio::AUDIO_FORMAT_F64 => {