mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
waylandsink: add wl_registry.global_remove listener
when hotplug display, wayland client will call this listener to notify client do clean up. Temporarily set a dummy function here to avoid app abort Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1327>
This commit is contained in:
parent
ebababae03
commit
d77de13ca6
1 changed files with 9 additions and 1 deletions
|
@ -234,8 +234,16 @@ registry_handle_global (void *data, struct wl_registry *registry,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
registry_handle_global_remove (void *data, struct wl_registry *registry,
|
||||||
|
uint32_t name)
|
||||||
|
{
|
||||||
|
/* temporarily do nothing */
|
||||||
|
}
|
||||||
|
|
||||||
static const struct wl_registry_listener registry_listener = {
|
static const struct wl_registry_listener registry_listener = {
|
||||||
registry_handle_global
|
registry_handle_global,
|
||||||
|
registry_handle_global_remove
|
||||||
};
|
};
|
||||||
|
|
||||||
static gpointer
|
static gpointer
|
||||||
|
|
Loading…
Reference in a new issue