ParamSpecArray: fix type_ from fraction to array

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
This commit is contained in:
Marc Wiblishauser 2023-03-09 10:13:07 +01:00 committed by Guillaume Desmottes
parent cb6b7a2c2c
commit 18cbbfb1f8

View file

@ -221,7 +221,7 @@ glib::wrapper! {
match fn {
ref => |ptr| gobject_ffi::g_param_spec_ref_sink(ptr as *mut gobject_ffi::GParamSpec),
unref => |ptr| gobject_ffi::g_param_spec_unref(ptr as *mut gobject_ffi::GParamSpec),
type_ => || ffi::gst_param_spec_fraction_get_type(),
type_ => || ffi::gst_param_spec_array_get_type(),
}
}