diff options
author | wm4 <wm4@nowhere> | 2015-04-07 11:43:03 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-07 11:43:03 +0200 |
commit | f6b2325c2a4c3ede7fc9cfe9bf32e5c09f5a115e (patch) | |
tree | f49f0a68b96bd11a2ded283ae97d737ed00b8e53 /video/out/vo_direct3d.c | |
parent | efae88e5212372513bdad6c335050fe50d28c22d (diff) | |
download | mpv-f6b2325c2a4c3ede7fc9cfe9bf32e5c09f5a115e.tar.bz2 mpv-f6b2325c2a4c3ede7fc9cfe9bf32e5c09f5a115e.tar.xz |
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.
Diffstat (limited to 'video/out/vo_direct3d.c')
-rw-r--r-- | video/out/vo_direct3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c index ac72efe2f8..b9e1b92326 100644 --- a/video/out/vo_direct3d.c +++ b/video/out/vo_direct3d.c @@ -1517,7 +1517,7 @@ static mp_image_t *get_window_screenshot(d3d_priv *priv) if (width < 1 || height < 1) goto error_exit; - image = mp_image_alloc(IMGFMT_BGR32, width, height); + image = mp_image_alloc(IMGFMT_BGR0, width, height); if (!image) goto error_exit; |