mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-02 01:33:47 +00:00
webrtc: janus: use 'member' when defining janus-state property
It actually works when passing the type as well. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2244>
This commit is contained in:
parent
8cf0784730
commit
2fb92cf188
1 changed files with 2 additions and 2 deletions
|
@ -6001,8 +6001,8 @@ pub(super) mod janus {
|
|||
*/
|
||||
#[property(
|
||||
name = "janus-state",
|
||||
// FIXME: can't use `member =` with enums: https://github.com/gtk-rs/gtk-rs-core/issues/1338
|
||||
get = |self_: &Self| self_.state.lock().unwrap().janus_state,
|
||||
get,
|
||||
member = janus_state,
|
||||
type = JanusVRSignallerState,
|
||||
blurb = "The current state of the signaller",
|
||||
builder(JanusVRSignallerState::Initialized)
|
||||
|
|
Loading…
Reference in a new issue