mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
waylandsink: Destroy viewporter when done
https://bugzilla.gnome.org/show_bug.cgi?id=738079
This commit is contained in:
parent
dd062b6606
commit
ba71a392a6
1 changed files with 3 additions and 0 deletions
|
@ -75,6 +75,9 @@ gst_wl_display_finalize (GObject * gobject)
|
|||
g_hash_table_unref (self->buffers);
|
||||
g_mutex_clear (&self->buffers_mutex);
|
||||
|
||||
if (self->viewporter)
|
||||
wp_viewporter_destroy (self->viewporter);
|
||||
|
||||
if (self->shm)
|
||||
wl_shm_destroy (self->shm);
|
||||
|
||||
|
|
Loading…
Reference in a new issue