diff options
author | Niklas Haas <git@haasn.dev> | 2022-01-11 21:03:27 +0100 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2022-01-11 23:45:08 +0200 |
commit | 9e2c0b8baa3f9ccba997129a1c1023f61611e4dd (patch) | |
tree | fff3693f77deeef422f91fb817c028ef54f76e63 /sub/osd.c | |
parent | 429402cb087f3a052cb9645af1e42156fd413c6c (diff) | |
download | mpv-9e2c0b8baa3f9ccba997129a1c1023f61611e4dd.tar.bz2 mpv-9e2c0b8baa3f9ccba997129a1c1023f61611e4dd.tar.xz |
sub: rename SUBBITMAP_RGBA to SUBBITMAP_BGRA
This was a misnomer, the actual channel order is IMGFMT_BGRA (as the
comment explicitly point out). Rename the enum for consistency.
Diffstat (limited to 'sub/osd.c')
-rw-r--r-- | sub/osd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -284,7 +284,7 @@ static struct sub_bitmaps *render_object(struct osd_state *osd, { int format = SUBBITMAP_LIBASS; if (!sub_formats[format] || osd->opts->force_rgba_osd) - format = SUBBITMAP_RGBA; + format = SUBBITMAP_BGRA; struct sub_bitmaps *res = NULL; |