summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-04-23 13:00:51 +0200
committerwm4 <wm4@nowhere>2020-04-23 13:24:35 +0200
commit28e4fe3010ecb0e1ddc964613c9205d7df95922f (patch)
tree407c8c5eb227f9df8328138545b7da08316c52bf /test
parentfe2178160d6374136e6ca2f02f12d7f42f9cb531 (diff)
downloadmpv-28e4fe3010ecb0e1ddc964613c9205d7df95922f.tar.bz2
mpv-28e4fe3010ecb0e1ddc964613c9205d7df95922f.tar.xz
img_format: treat both monow and monob as RGB
This was inconsistent for unknown reason. monob was the way we wanted it, and handling of monow was missing. See the previous "img_format: add some mpv-only helper formats" commit. Matters for the zimg wrapper.
Diffstat (limited to 'test')
-rw-r--r--test/ref/img_formats.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ref/img_formats.txt b/test/ref/img_formats.txt
index c0c4d8bb4d..0abbbe94ee 100644
--- a/test/ref/img_formats.txt
+++ b/test/ref/img_formats.txt
@@ -716,8 +716,8 @@ monob: [GENERIC] fcsp=rgb ctype=uint
{0/1/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
AVD: name=monob chroma=0:0 flags=0x4 [bs]
0: p=0 st=1 o=0 sh=7 d=1
-monow: [GENERIC] ctype=uint
- Legacy desc: [yuv][le][be]
+monow: [GENERIC] fcsp=rgb ctype=uint
+ Legacy desc: [rgb][le][be]
planes=1, chroma=0:0 align=8:1 bits=1 cbits=1
{0/1/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
AVD: name=monow chroma=0:0 flags=0x4 [bs]