diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-04-25 15:41:22 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-04-25 15:48:55 +0300 |
commit | 15cf738616fac8390ff1bac144f6fac49148b47d (patch) | |
tree | d0b5b35c187d053cd49d0c0aa5bba8a149de4b5e /audio/claxon | |
parent | 40765f7c53237e798565f9568caed7f4a4d6373c (diff) |
Update for Value trait refactoring
Diffstat (limited to 'audio/claxon')
-rw-r--r-- | audio/claxon/src/claxondec/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/claxon/src/claxondec/imp.rs b/audio/claxon/src/claxondec/imp.rs index d8846419..6661e55b 100644 --- a/audio/claxon/src/claxondec/imp.rs +++ b/audio/claxon/src/claxondec/imp.rs @@ -137,7 +137,7 @@ impl AudioDecoderImpl for ClaxonDec { "Not enough streamheaders, trying in-band" ); } else { - let ident_buf = streamheaders[0].get::<gst::Buffer>(); + let ident_buf = streamheaders[0].get::<Option<gst::Buffer>>(); if let Ok(Some(ident_buf)) = ident_buf { gst_debug!(CAT, obj: element, "Got streamheader buffers"); let inmap = ident_buf.map_readable().unwrap(); |