From a360f11ac7a4810eb0d899e9f97ffddcc75435ae Mon Sep 17 00:00:00 2001 From: Viktor Chvatal Date: Thu, 17 Oct 2024 13:44:01 +0200 Subject: [PATCH] gstreamer: Fix binding to wrong C function in PadExtManual::proxy_query_caps Fixes #533 Part-of: --- gstreamer/src/pad.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gstreamer/src/pad.rs b/gstreamer/src/pad.rs index 7b9d25e82..be00de92b 100644 --- a/gstreamer/src/pad.rs +++ b/gstreamer/src/pad.rs @@ -335,9 +335,10 @@ pub trait PadExtManual: sealed::Sealed + IsA + 'static { } } + #[doc(alias = "gst_pad_proxy_query_caps")] fn proxy_query_caps(&self, query: &mut QueryRef) -> bool { unsafe { - from_glib(ffi::gst_pad_proxy_query_accept_caps( + from_glib(ffi::gst_pad_proxy_query_caps( self.as_ref().to_glib_none().0, query.as_mut_ptr(), ))