options: don't trigger bool "compact" path for --loop-file

In theory an incompatible change, but I think it's for the better.
Impact should be relatively low. I hope.

Fixes: #7676
This commit is contained in:
wm4 2020-05-06 15:27:00 +02:00
parent 12451ac7eb
commit f77a4450b4
2 changed files with 4 additions and 2 deletions

View File

@ -65,6 +65,8 @@ Interface changes
vaguely a replacement of the removed option, but not the same
- change another detail for track selection options (see --aid manpage
entry)
- reading loop-file property as native property or mpv_node will now return
"inf" instead of boolean true (also affects loop option)
--- mpv 0.32.0 ---
- change behavior when using legacy option syntax with options that start
with two dashes (``--`` instead of a ``-``). Now, using the recommended

View File

@ -648,8 +648,8 @@ static const m_option_t mp_opts[] = {
M_RANGE(1, 10000)},
{"loop-file", OPT_CHOICE(loop_file,
{"no", 0},
{"yes", -1},
{"inf", -1}),
{"inf", -1},
{"yes", -1}),
M_RANGE(0, 10000)},
{"loop", OPT_ALIAS("loop-file")},