diff options
author | wm4 <wm4@nowhere> | 2015-04-07 10:18:48 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-07 10:18:48 +0200 |
commit | efae88e5212372513bdad6c335050fe50d28c22d (patch) | |
tree | 3055f53b66c768f165307399f56a19518ba40e2c | |
parent | f316f1ec16fa32c055d8d96613d466d01436fe87 (diff) | |
download | mpv-efae88e5212372513bdad6c335050fe50d28c22d.tar.bz2 mpv-efae88e5212372513bdad6c335050fe50d28c22d.tar.xz |
vdpau: don't use a transparent image format for screenshots
Fixes #1779.
-rw-r--r-- | video/vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |