vdpau: don't use a transparent image format for screenshots
Fixes #1779.
This commit is contained in:
1 parent
f316f1ec16
commit
efae88e521
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user