eglglessink: Fix _get_compat_format_from_caps() logic
authorReynaldo H. Verdejo Pinochet <reynaldo@collabora.com>
Mon, 24 Sep 2012 03:27:23 +0000 (00:27 -0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 18 Oct 2012 12:35:13 +0000 (14:35 +0200)
commita2fce441397f43edebab855bfda25eeda025dfd7
treec9b372d75496863a8a061a44eec7e9713c385618
parent47d0505f404cf9a6d34dd69466bd4cb421aeae25
eglglessink: Fix _get_compat_format_from_caps() logic

It's a getter so it shouldn't messing with the sink context.
Adding insult to injury it was setting selected_fmt without
locking.
The associated changes to the buffer functions are merely
make-it build fixes. Those functions are barely drafted
and in WIP state.
ext/eglgles/gsteglglessink.c