wayland: refactor _sync() method and rename callback
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 21 Apr 2015 15:17:06 +0000 (17:17 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 21 Apr 2015 15:25:47 +0000 (17:25 +0200)
commitaf8ea3701e9b747460a60743a36b17cdf6b908d0
tree44cf45d49194f59b757f4257ff0bd67781216881
parent7548c72a7d7db3e1d1d2bb2965a08d028907565a
wayland: refactor _sync() method and rename callback

This patch only intends to improve readability: in the method
gst_vaapi_window_wayland_sync() the if/do instructions are squashed into a
single while loop.

Also renames the frame_redraw_callback() callback into frame_done_callback(),
which is a bit more aligned to Wayland API.
gst-libs/gst/vaapi/gstvaapiwindow_wayland.c