Commit bddc4f32 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

flv: Fix compilation after change to Buffer::from_mut_slice()

It does not return an Option<_> anymore.
parent 04955f61
......@@ -203,7 +203,7 @@ impl AudioFormat {
data.into_inner()
};
let header = gst::Buffer::from_mut_slice(header).unwrap();
let header = gst::Buffer::from_mut_slice(header);
let comment = {
let comment_size = 4 + 7 /* nothing */ + 4 + 1;
......@@ -217,7 +217,7 @@ impl AudioFormat {
data.into_inner()
};
let comment = gst::Buffer::from_mut_slice(comment).unwrap();
let comment = gst::Buffer::from_mut_slice(comment);
Some(gst::Caps::new_simple(
"audio/x-speex",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment