diff options
author | Christoph Heinrich <christoph.heinrich@student.tugraz.at> | 2023-02-20 04:32:50 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-02-21 17:15:17 +0000 |
commit | 91cc0d8cf6a2cf264c243ca3b3e99b5fd4044c29 (patch) | |
tree | 448b141d92c9ea7636954213b587aaf380fc21db /video/image_writer.h | |
parent | b9850a6e8c45f95563a703af7f21dfe1c1ee40b6 (diff) | |
download | mpv-91cc0d8cf6a2cf264c243ca3b3e99b5fd4044c29.tar.bz2 mpv-91cc0d8cf6a2cf264c243ca3b3e99b5fd4044c29.tar.xz |
options: transition options from OPT_FLAG to OPT_BOOL
c78482045444c488bb7948305d583a55d17cd236 introduced a bool option type
as a replacement for the flag type, but didn't actually transition and
remove the flag type because it would have been too much mundane work.
Diffstat (limited to 'video/image_writer.h')
-rw-r--r-- | video/image_writer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/video/image_writer.h b/video/image_writer.h index 8a9d67e5bf..c4a9cea386 100644 --- a/video/image_writer.h +++ b/video/image_writer.h @@ -22,7 +22,7 @@ struct mp_log; struct image_writer_opts { int format; - int high_bit_depth; + bool high_bit_depth; int png_compression; int png_filter; int jpeg_quality; @@ -31,13 +31,13 @@ struct image_writer_opts { int jpeg_dpi; int jpeg_progressive; int jpeg_baseline; - int jpeg_source_chroma; - int webp_lossless; + bool jpeg_source_chroma; + bool webp_lossless; int webp_quality; int webp_compression; double jxl_distance; int jxl_effort; - int tag_csp; + bool tag_csp; }; extern const struct image_writer_opts image_writer_opts_defaults; |