Bug with PARAM_FLAG_CONTROLLABLE?
Hey there, I'm trying to use ParamSpec like this:
glib::ParamSpecUInt::builder("border-radius-px")
.nick("Border radius in pixels")
.blurb("Draw rounded corners with given border radius")
.default_value(DEFAULT_BORDER_RADIUS)
.readwrite()
.controllable()
.mutable_playing()
.build()
I'm trying to set "controllable". But it's not working properly. It's adding the flag PARAM_FLAG_CONTROLLABLE, which is defined here: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/blob/main/gstreamer/src/lib.rs#L289 as USER_1, but USER_1 seems to be defined as 256, not 512 as I think it needs to be. https://github.com/gtk-rs/gtk-rs-core/blob/master/glib/src/gobject/flags.rs#L21-L22
Here it's defined as 512: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/blob/2cb7fc8122c5564221b29ff8190bbf6b79134e11/gstreamer/sys/src/lib.rs#L518
Is it a bug that 512 is missing?