summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
Diffstat (limited to 'sub')
-rw-r--r--sub/draw_bmp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sub/draw_bmp.c b/sub/draw_bmp.c
index a0c58324da..594fcabdfd 100644
--- a/sub/draw_bmp.c
+++ b/sub/draw_bmp.c
@@ -416,6 +416,14 @@ static void get_closest_y444_format(int imgfmt, int *out_format, int *out_bits)
*out_format = IMGFMT_444P10;
*out_bits = 10;
return;
+ case 12:
+ *out_format = IMGFMT_444P12;
+ *out_bits = 12;
+ return;
+ case 14:
+ *out_format = IMGFMT_444P14;
+ *out_bits = 14;
+ return;
}
}
} else {