From f6b2325c2a4c3ede7fc9cfe9bf32e5c09f5a115e Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 7 Apr 2015 11:43:03 +0200 Subject: video/out: fix screenshot image formats Use variants without alpha. I skipped vo_sdl, because format selection seems a bit more complicated here, and nobody cares about vo_sdl anymore. --- video/out/vo_rpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vo_rpi.c') diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c index e197477987..48827b8a67 100644 --- a/video/out/vo_rpi.c +++ b/video/out/vo_rpi.c @@ -421,7 +421,7 @@ static struct mp_image *take_screenshot(struct vo *vo) { struct priv *p = vo->priv; - struct mp_image *img = mp_image_alloc(IMGFMT_BGRA, p->w, p->h); + struct mp_image *img = mp_image_alloc(IMGFMT_BGR0, p->w, p->h); if (!img) return NULL; -- cgit v1.2.3