mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
options: transition options from OPT_FLAG to OPT_BOOL
c784820454 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.
This commit is contained in:
committed by
Dudemanguy
parent
b9850a6e8c
commit
91cc0d8cf6
@@ -61,8 +61,8 @@ static const m_option_t style_opts[] = {
|
||||
{"align-y", OPT_CHOICE(align_y,
|
||||
{"top", -1}, {"center", 0}, {"bottom", +1})},
|
||||
{"blur", OPT_FLOAT(blur), M_RANGE(0, 20)},
|
||||
{"bold", OPT_FLAG(bold)},
|
||||
{"italic", OPT_FLAG(italic)},
|
||||
{"bold", OPT_BOOL(bold)},
|
||||
{"italic", OPT_BOOL(italic)},
|
||||
{"justify", OPT_CHOICE(justify,
|
||||
{"auto", 0}, {"left", 1}, {"center", 2}, {"right", 3})},
|
||||
{"font-provider", OPT_CHOICE(font_provider,
|
||||
|
||||
Reference in New Issue
Block a user