waylandsink/waylandpool: unlink mmaped shm files so that they don't remain on the file system

This commit is contained in:
George Kiagiadakis 2014-02-28 13:36:43 +02:00
parent e56f305274
commit bf19d792d0

View file

@ -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;