gstreamer-base/basesrc: Use the correct pointer for retrieving the allocated buffer in BaseSrc::alloc

This commit is contained in:
Sebastian Dröge 2021-03-09 18:06:06 +02:00
parent ea239c587e
commit 4804da1273

View file

@ -324,7 +324,7 @@ impl<T: BaseSrcImpl> BaseSrcImplExt for T {
length,
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))
}