vdpau: don't use a transparent image format for screenshots

Fixes #1779.
This commit is contained in:
wm4 2015-04-07 10:18:48 +02:00
parent f316f1ec16
commit efae88e521
1 changed files with 1 additions and 1 deletions

View File

@ -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;