vaapisink: implement unlock/unlock_stop for wayland
authorMichael Olbrich <m.olbrich@pengutronix.de>
Thu, 7 May 2015 13:55:40 +0000 (15:55 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 15 May 2015 15:10:37 +0000 (17:10 +0200)
commit11b9260b6c40d9a87b4e30aed78d2583f306f0ff
treeff3b73cd3d4e6a33ffdd410a578d4b0b55f58b85
parent522ec79d2e5c641ca2861689e9a63a6782739d8b
vaapisink: implement unlock/unlock_stop for wayland

Otherwise 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.

Changes:
* renamed unlock()/unlock_stop() to unblock()/unblock_cancel() in gstvaapiwindow
* splitted the patch removing wl_display_dispatch_queue()

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=747492

https://bugzilla.gnome.org/show_bug.cgi?id=749078
gst-libs/gst/vaapi/gstvaapiwindow.c
gst-libs/gst/vaapi/gstvaapiwindow.h
gst-libs/gst/vaapi/gstvaapiwindow_priv.h
gst-libs/gst/vaapi/gstvaapiwindow_wayland.c
gst/vaapi/gstvaapisink.c