mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-09-01 01:13:48 +00:00
vulkan: Fix BufferRef conversion in VulkanFullScreenQuadExtManual
This commit is contained in:
parent
4c605177df
commit
b13ab1c88d
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ pub trait VulkanFullScreenQuadExtManual:
|
|||
sealed::Sealed + IsA<VulkanFullScreenQuad> + 'static
|
||||
{
|
||||
fn draw_into_output(&self, outbuf: &mut gst::BufferRef) -> Result<(), glib::Error> {
|
||||
let out = unsafe { gst::Buffer::from_glib_none(outbuf.as_ptr()) };
|
||||
let out = unsafe { gst::Buffer::from_glib_borrow(outbuf.as_ptr()) };
|
||||
self.set_output_buffer(Some(&out))?;
|
||||
let ret = self.draw();
|
||||
self.set_output_buffer(None)?;
|
||||
|
|
Loading…
Reference in a new issue