gtkwaylandsink: Destroy GstWlWindow when parent GtkWindow is destroyed
Currently gtkwaylandsink doesn't clean up its child wayland window. This results in the second video in a list not displaying.
gst-play-1.0 test.mp4 test.mp4 --videosink="gtkwaylandsink"
first video | second video |
---|---|
This currently triggers a segfault in mutter: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2917 and on the start of a third video causes a failed assert in weston.