examples: Update gstreamer
This commit is contained in:
parent
e702c43f71
commit
5865264964
2 changed files with 6 additions and 6 deletions
|
|
@ -68,7 +68,7 @@ fn pipewire_thread(
|
|||
) {
|
||||
gst::init().unwrap();
|
||||
|
||||
let pipeline = gst::parse_launch(&format!(
|
||||
let pipeline = gst::parse::launch(&format!(
|
||||
"filesrc name=filesrc !
|
||||
qtdemux !
|
||||
h264parse !
|
||||
|
|
@ -126,7 +126,7 @@ fn pipewire_thread(
|
|||
let planes = (0..meta.n_planes())
|
||||
.map(|plane_idx| {
|
||||
let memory = buffer
|
||||
.memory(plane_idx)
|
||||
.memory(plane_idx as usize)
|
||||
.unwrap()
|
||||
.downcast_memory::<gst_allocators::DmaBufMemory>()
|
||||
.unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue