Skip to content

gtkwaylandsink: Destroy GstWlWindow when parent GtkWindow is destroyed

Colin Kinloch requested to merge ColinKinloch/gstreamer:clear_wl_window into main

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
Screenshot_from_2023-03-16_16-12-37 Screenshot_from_2023-03-16_16-12-20

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.

Merge request reports