command: change the default action for rescan_external_files

Now the rescan_external_files command will by default reselect the audio
and subtitle streams. This should be more intuitive.

Client API users and Lua scripts might break, but can be fixed in a
backward-compatible way by setting the mode explicitly.
This commit is contained in:
wm4
2015-04-28 22:05:07 +02:00
parent 0c0c8cd44e
commit 9795216d8a
2 changed files with 6 additions and 6 deletions

View File

@@ -210,7 +210,7 @@ const struct mp_cmd_def mp_cmds[] = {
{ MP_CMD_AUDIO_RELOAD, "audio_reload", { OARG_INT(-1) } },
{ MP_CMD_RESCAN_EXTERNAL_FILES, "rescan_external_files", {
OARG_CHOICE(0, ({"keep-selection", 0},
OARG_CHOICE(1, ({"keep-selection", 0},
{"reselect", 1})),
}},