diff options
-rw-r--r-- | input/input.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/input/input.c b/input/input.c index 3cae41bfff..17fa9d2215 100644 --- a/input/input.c +++ b/input/input.c @@ -182,8 +182,8 @@ static const mp_cmd_t mp_cmds[] = { { MP_CMD_AF_CLR, "af_clr", }, { MP_CMD_AF_CMDLINE, "af_cmdline", { ARG_STRING, ARG_STRING } }, - { MP_CMD_SHOW_CHAPTERS, "show_chapters_osd", }, - { MP_CMD_SHOW_TRACKS, "show_tracks_osd", }, + { MP_CMD_SHOW_CHAPTERS, "show_chapters", }, + { MP_CMD_SHOW_TRACKS, "show_tracks", }, { MP_CMD_VO_CMDLINE, "vo_cmdline", { ARG_STRING } }, @@ -235,6 +235,8 @@ static const struct legacy_cmd legacy_cmds[] = { {"osd_show_text", "show_text"}, {"osd_show_property_text", "show_text"}, {"osd_show_progression", "show_progress"}, + {"show_chapters_osd", "show_chapters"}, + {"show_tracks_osd", "show_tracks"}, // Approximate (can fail if user added additional whitespace) {"pt_step 1", "playlist_next"}, {"pt_step -1", "playlist_prev"}, |