gstreamer/gst-libs/gst
Víctor Manuel Jáquez Leal 522ec79d2e wayland: wl_display_dispatch_queue() can block forever.
wl_display_dispatch_queue() might prevent the pipeline from shutting
down. This can happen e.g. if the wayland compositor exits while the
pipeline is running.

This patch replaces it with these steps:

- With wl_display_prepare_read() all threads announce their intention
  to read.
- wl_display_read_events() is thread save. On threads reads, the other
  wait for it to finish.
- With wl_display_dispatch_queue_pending() each thread dispatches its
  own events.

wl_display_dispatch_queue_pending() was defined since wayland 1.0.2

Original-patch-by: Michael Olbrich <m.olbrich@pengutronix.de>
* stripped out the unlock() unlock_stop() logic
* stripped out the poll handling

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>

https://bugzilla.gnome.org/show_bug.cgi?id=749078

https://bugzilla.gnome.org/show_bug.cgi?id=747492
2015-05-15 17:10:37 +02:00
..
base Fix missing files in distribution tarball. 2013-12-06 14:16:28 +01:00
codecparsers HEVC: Allow to build h265 codecparser internally 2015-04-13 14:51:51 +03:00
vaapi wayland: wl_display_dispatch_queue() can block forever. 2015-05-15 17:10:37 +02:00
Makefile.am Remove libgstvaapi-videoutils.so 2015-04-03 17:01:45 +03:00