From: Haihua Hu Date: Tue, 9 Jun 2020 02:53:17 +0000 (+0800) Subject: waylandsink: add wl_registry.global_remove listener X-Git-Tag: 1.19.3~507^2~1771 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d77de13ca6028d0011f5a2a285a2a6f751b5d8da;p=platform%2Fupstream%2Fgstreamer.git 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: --- diff --git a/ext/wayland/wldisplay.c b/ext/wayland/wldisplay.c index 9400095..f7115d5 100644 --- a/ext/wayland/wldisplay.c +++ b/ext/wayland/wldisplay.c @@ -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 = { - registry_handle_global + registry_handle_global, + registry_handle_global_remove }; static gpointer