summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-05-09 17:57:24 +0200
committerwm4 <wm4@nowhere>2020-05-09 18:02:57 +0200
commit4019c113140ff4841607c84598f2ce5912464f9b (patch)
treea8705fd3a1ed7e8b9311988bc390934f396d5e79 /video/img_format.h
parentd8002f1dde94771952b301f4ebe331c52bc71871 (diff)
downloadmpv-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.h2
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