diff options
author | wm4 <wm4@nowhere> | 2020-05-09 17:57:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-05-09 18:02:57 +0200 |
commit | 4019c113140ff4841607c84598f2ce5912464f9b (patch) | |
tree | a8705fd3a1ed7e8b9311988bc390934f396d5e79 /video/img_format.h | |
parent | d8002f1dde94771952b301f4ebe331c52bc71871 (diff) | |
download | mpv-4019c113140ff4841607c84598f2ce5912464f9b.tar.bz2 mpv-4019c113140ff4841607c84598f2ce5912464f9b.tar.xz |
video: fix rgb30 component order
Was broken with a zimg wrapper refucktor before the previous commit. In
addition, it seems this didn't match the vo_drm format, or the format
naming convention. So the order actually changes, and the format is
redefined. (The img_format.h comment was probably wrong.)
Change vo_gpu to the new format as well, so we can still test it.
Diffstat (limited to 'video/img_format.h')
-rw-r--r-- | video/img_format.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/img_format.h b/video/img_format.h index b0fdef8a50..489b0e88db 100644 --- a/video/img_format.h +++ b/video/img_format.h @@ -213,7 +213,7 @@ enum mp_imgfmt { IMGFMT_YAP16, // Accessed with bit-shifts, uint32_t units. - IMGFMT_RGB30, // 2pad 10r 10g 10b (MSG to LSB) + IMGFMT_RGB30, // 2pad 10r 10g 10b (MSB to LSB) // Fringe formats for fringe RGB format repacking. IMGFMT_Y1, // gray with 1 bit per pixel |