mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
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:
parent
c9f7a2a947
commit
a360f11ac7
1 changed files with 2 additions and 1 deletions
|
@ -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(),
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in a new issue