waylandsink: crash when I disconnect display in playback
waylandsink will crash when I disconnect display. Below is the crash log:
[Playing (No Repeated)][Vol=1.0][00:00:11/00:09:56][ 66.248275] [drm] HDMI Cable Plug Out listener function for opcode 1 of wl_registry is NULL[ 66.296549] audit: type=1701 audit(1589065350.216:3): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=922 comm="GstW lDisplay" exe="/usr/bin/gplay-1.0" sig=6 res=1
Aborted root@imx8qmmek:~#
I did a quick check, it crash when gst_wl_display_thread_run() of wldisplay.c when call wl_display_dispatch_queue_pending()
can we aovid crash here?