diff options
author | wm4 <wm4@nowhere> | 2020-05-11 19:37:16 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-05-11 19:57:34 +0200 |
commit | 6db890ebab2839443ddbfc34a4a0246d464bd14f (patch) | |
tree | bed087dd0f72b1365fa9ebb69462504db80e4474 /video/vdpau.c | |
parent | b5284a68296519480d9d4142880c13a8112feb18 (diff) | |
download | mpv-6db890ebab2839443ddbfc34a4a0246d464bd14f.tar.bz2 mpv-6db890ebab2839443ddbfc34a4a0246d464bd14f.tar.xz |
video: remove RGB32/BGR32 aliases
They are sort of confusing, and they hide the fact that they have an
alpha component. Using the actual formats directly is no problem, sicne
these were useful only for big endian systems, something we can't test
anyway.
Diffstat (limited to 'video/vdpau.c')
-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 6e3d0ac8a9..4701cac85e 100644 --- a/video/vdpau.c +++ b/video/vdpau.c @@ -456,7 +456,7 @@ bool mp_vdpau_get_rgb_format(int imgfmt, VdpRGBAFormat *out_rgba_format) VdpRGBAFormat format = (VdpRGBAFormat)-1; switch (imgfmt) { - case IMGFMT_BGR32: + case IMGFMT_BGRA: format = VDP_RGBA_FORMAT_B8G8R8A8; break; default: return false; |