mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 11:31:06 +00:00
gstreamer-base/basesrc: Use the correct pointer for retrieving the allocated buffer in BaseSrc::alloc
This commit is contained in:
parent
ea239c587e
commit
4804da1273
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ impl<T: BaseSrcImpl> BaseSrcImplExt for T {
|
||||||
length,
|
length,
|
||||||
buffer_ref,
|
buffer_ref,
|
||||||
));
|
));
|
||||||
res.into_result_value(|| from_glib_full(buffer_ref))
|
res.into_result_value(|| from_glib_full(buffer_ptr))
|
||||||
})
|
})
|
||||||
.unwrap_or(Err(gst::FlowError::NotSupported))
|
.unwrap_or(Err(gst::FlowError::NotSupported))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue