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
..
2012-11-04 00:09:59 +00:00
2018-10-10 12:02:44 -04:00
2013-02-28 18:46:02 -05:00
2018-10-10 13:42:05 -04:00
2012-11-04 00:09:59 +00:00
2017-05-16 14:05:52 -04:00
2018-08-17 04:07:24 +05:30
2013-02-27 20:57:56 -05:00
2010-11-24 19:12:10 -05:00
2017-06-21 13:42:31 -04:00
2015-04-02 18:11:37 -04:00