gstreamer: Fix binding to wrong C function in PadExtManual::proxy_query_caps

Fixes #533

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1557>
This commit is contained in:
Viktor Chvatal 2024-10-17 13:44:01 +02:00 committed by GStreamer Marge Bot
parent c9f7a2a947
commit a360f11ac7

View file

@ -335,9 +335,10 @@ pub trait PadExtManual: sealed::Sealed + IsA<Pad> + 'static {
} }
} }
#[doc(alias = "gst_pad_proxy_query_caps")]
fn proxy_query_caps(&self, query: &mut QueryRef) -> bool { fn proxy_query_caps(&self, query: &mut QueryRef) -> bool {
unsafe { 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, self.as_ref().to_glib_none().0,
query.as_mut_ptr(), query.as_mut_ptr(),
)) ))