[PATCH 1/3] screenshoter: Make recorder handle PIXMAN_x8r8g8b8

alexl at redhat.com alexl at redhat.com
Wed May 29 03:01:32 PDT 2013


From: Alexander Larsson <alexl at 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



More information about the wayland-devel mailing list