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/1556>
This commit is contained in:
Viktor Chvatal 2024-10-17 13:44:01 +02:00 committed by GStreamer Marge Bot
parent 10ca739f52
commit 526074ea78

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 {
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(),
))