waylandsink: handle the list of supported formats properly
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Wed, 26 Feb 2014 16:35:29 +0000 (18:35 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 17 Jun 2014 11:51:23 +0000 (13:51 +0200)
commit26ce7f2344f0b5a88d5390586be526d46df794dc
treefe8faae902f0dcfbde52bcef9c1df982c9a29b90
parent873671f2b6086e63c40eb3463633a9dbb606eaf1
waylandsink: handle the list of supported formats properly

enum wl_shm_format is not a flags enum, as it may have been in the past,
so multiple formats cannot be stored in a bitfield. Use an array instead.
ext/wayland/gstwaylandsink.c
ext/wayland/gstwaylandsink.h
ext/wayland/wldisplay.c
ext/wayland/wldisplay.h