From efae88e5212372513bdad6c335050fe50d28c22d Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 7 Apr 2015 10:18:48 +0200 Subject: vdpau: don't use a transparent image format for screenshots Fixes #1779. --- video/vdpau.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/vdpau.c b/video/vdpau.c index 4ff3d6905a..2fd75a2970 100644 --- a/video/vdpau.c +++ b/video/vdpau.c @@ -70,7 +70,7 @@ static struct mp_image *download_image(struct mp_hwdec_ctx *hwctx, mpi, &in) < 0) goto error; - res = mp_image_pool_get(swpool, IMGFMT_BGR32, ctx->getimg_w, ctx->getimg_h); + res = mp_image_pool_get(swpool, IMGFMT_BGR0, ctx->getimg_w, ctx->getimg_h); if (!res) goto error; -- cgit v1.2.3