wayland: Don't return GST_FLOW_ERROR on flushing
authorOlivier Crete <olivier.crete@collabora.com>
Thu, 13 Aug 2015 19:12:44 +0000 (15:12 -0400)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 24 Aug 2015 17:23:54 +0000 (19:23 +0200)
commita83057cdb16ba28f01093d8de4aa14b13c62d1f1
tree6d8263b2acacbe0fa1befd29a7af390f13226866
parent18a8b87975baf7ad1eb6c02a5dde6889269b33fb
wayland: Don't return GST_FLOW_ERROR on flushing

Setting the sink to flushing causes gst_vaapi_window_wayland_sync() to
return FALSE which makes gst_vaapi_window_wayland_render() return
FALSE which ends up posting an ERROR message in
gst_vaapisink_show_frame_unlocked(). Solution is to just return TRUE
in the EBUSY case.

https://bugzilla.gnome.org/show_bug.cgi?id=753598
gst-libs/gst/vaapi/gstvaapiwindow_wayland.c