mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-22 00:48:17 +00:00
Fixes for gstreamer-rs API changes
This commit is contained in:
parent
176e07bf0a
commit
d8dbe8414c
1 changed files with 2 additions and 2 deletions
|
@ -205,7 +205,7 @@ impl AudioFormat {
|
|||
|
||||
data.into_inner()
|
||||
};
|
||||
let header = gst::Buffer::from_vec(header).unwrap();
|
||||
let header = gst::Buffer::from_mut_slice(header).unwrap();
|
||||
|
||||
let comment = {
|
||||
let comment_size = 4 + 7 /* nothing */ + 4 + 1;
|
||||
|
@ -219,7 +219,7 @@ impl AudioFormat {
|
|||
|
||||
data.into_inner()
|
||||
};
|
||||
let comment = gst::Buffer::from_vec(comment).unwrap();
|
||||
let comment = gst::Buffer::from_mut_slice(comment).unwrap();
|
||||
|
||||
Some(gst::Caps::new_simple(
|
||||
"audio/x-speex",
|
||||
|
|
Loading…
Reference in a new issue