forked from mirrors/gstreamer-rs
ParamSpecArray: fix type_ from fraction to array
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1229>
This commit is contained in:
parent
4b112a9bb8
commit
0bd6e07346
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ glib::wrapper! {
|
||||||
match fn {
|
match fn {
|
||||||
ref => |ptr| gobject_ffi::g_param_spec_ref_sink(ptr as *mut gobject_ffi::GParamSpec),
|
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),
|
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(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue