waylandsink/waylandpool: unlink mmaped shm files so that they don't remain on the...
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Fri, 28 Feb 2014 11:36:43 +0000 (13:36 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 17 Jun 2014 11:51:24 +0000 (13:51 +0200)
ext/wayland/waylandpool.c

index 38d201e..593d16f 100644 (file)
@@ -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;