summaryrefslogtreecommitdiffstats
path: root/sub/osd.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-05-11 19:37:16 +0200
committerwm4 <wm4@nowhere>2020-05-11 19:57:34 +0200
commit6db890ebab2839443ddbfc34a4a0246d464bd14f (patch)
treebed087dd0f72b1365fa9ebb69462504db80e4474 /sub/osd.h
parentb5284a68296519480d9d4142880c13a8112feb18 (diff)
downloadmpv-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 'sub/osd.h')
-rw-r--r--sub/osd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/osd.h b/sub/osd.h
index 17e3ae0282..9b680b8bf8 100644
--- a/sub/osd.h
+++ b/sub/osd.h
@@ -28,7 +28,7 @@
enum sub_bitmap_format {
SUBBITMAP_EMPTY = 0,// no bitmaps; always has num_parts==0
SUBBITMAP_LIBASS, // A8, with a per-surface blend color (libass.color)
- SUBBITMAP_RGBA, // B8G8R8A8 (MSB=A, LSB=B), scaled, premultiplied alpha
+ SUBBITMAP_RGBA, // IMGFMT_BGRA (MSB=A, LSB=B), scaled, premultiplied alpha
SUBBITMAP_COUNT
};