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
@ -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…
x
Reference in New Issue
Block a user