mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +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);
|
self->wl_pool = wl_shm_create_pool (self->display->shm, fd, size);
|
||||||
|
unlink (filename);
|
||||||
close (fd);
|
close (fd);
|
||||||
|
|
||||||
self->size = size;
|
self->size = size;
|
||||||
|
|
Loading…
Reference in a new issue