From: Alexander Larsson <al...@redhat.com>

This is what the pixman renderer reports for the read format.
---
 src/screenshooter.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/screenshooter.c b/src/screenshooter.c
index dde052f..d088cf7 100644
--- a/src/screenshooter.c
+++ b/src/screenshooter.c
@@ -465,6 +465,7 @@ weston_recorder_create(struct weston_output *output, const 
char *filename)
        header.magic = WCAP_HEADER_MAGIC;
 
        switch (compositor->read_format) {
+       case PIXMAN_x8r8g8b8:
        case PIXMAN_a8r8g8b8:
                header.format = WCAP_FORMAT_XRGB8888;
                break;
-- 
1.8.1.4

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to