mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
waylandsink/waylandpool: unlink mmaped shm files so that they don't remain on the file system
This commit is contained in:
parent
e56f305274
commit
bf19d792d0
1 changed files with 1 additions and 0 deletions
|
@ -202,6 +202,7 @@ gst_wayland_buffer_pool_start (GstBufferPool * pool)
|
|||
}
|
||||
|
||||
self->wl_pool = wl_shm_create_pool (self->display->shm, fd, size);
|
||||
unlink (filename);
|
||||
close (fd);
|
||||
|
||||
self->size = size;
|
||||
|
|
Loading…
Reference in a new issue