gstreamer/sys/shm
Josep Torra 498dc9a84d shmsrc: delay fd removal until there's no uses
This fixes the remaining race condition with the fd by delaying
the removal until last pipe ref.

Unexpected critical/warning: gst_poll_fd_has_error: assertion 'fd->fd
>= 0' failed

Stack trace:
gst_debug_get_stack_trace (gstinfo.c:2788)
gst_check_log_critical_func (gstcheck.c:281)
g_logv (/lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2:0x7fdd4efa0a40)
g_log (/lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2:0x7fdd4efa0c6b)
gst_poll_fd_has_error (gstpoll.c:1217)
gst_shm_src_create (gstshmsrc.c:364)
gst_push_src_create (gstpushsrc.c:131)
gst_base_src_get_range (gstbasesrc.c:2521)
gst_base_src_loop (gstbasesrc.c:2845)
gst_task_func (gsttask.c:328)
default_func (gsttaskpool.c:69)

https://bugzilla.gnome.org/show_bug.cgi?id=797203
2018-10-10 13:42:05 -04:00
..
gstshm.c Fix FSF address 2012-11-04 00:09:59 +00:00
gstshmsink.c shmsink: do not keep locking if element is unlocked 2018-10-10 12:02:44 -04:00
gstshmsink.h shmsink: Add custom allocator to allow for zero-copy shared memory use 2013-02-28 18:46:02 -05:00
gstshmsrc.c shmsrc: delay fd removal until there's no uses 2018-10-10 13:42:05 -04:00
gstshmsrc.h Fix FSF address 2012-11-04 00:09:59 +00:00
Makefile.am Remove plugin specific static build option 2017-05-16 14:05:52 -04:00
meson.build meson: host_system is 'ios' when building for iOS 2018-08-17 04:07:24 +05:30
shmalloc.c shm: Make sure to not allocate blocks larger than the shared mem area 2013-02-27 20:57:56 -05:00
shmalloc.h shmalloc: Manually decide to use GLib or not in the shmalloc 2010-11-24 19:12:10 -05:00
shmpipe.c shmpipe: Should not use glib type without ifdef 2017-06-21 13:42:31 -04:00
shmpipe.h shmsink: add an shm-area-name property 2015-04-02 18:11:37 -04:00