screen-share: use compositor->read_format instead of hardcoding
Signed-off-by: Maciej Pijanowski maciej.pijanowski@3mdeb.com
Based on the discussion from: https://lists.freedesktop.org/archives/wayland-devel/2020-September/041624.html
Edited by Daniel Stone