diff options
author | wm4 <wm4@nowhere> | 2012-11-15 20:26:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-16 21:21:15 +0100 |
commit | b7052b431c92c2babd032885701fb56dfd3ec452 (patch) | |
tree | cf4e45be7d61387cf831d28a19306a0cb4cbf194 /core/input/input.h | |
parent | dd7dc2ee3d060d77dbafb3182127eb1a59c2d79f (diff) | |
download | mpv-b7052b431c92c2babd032885701fb56dfd3ec452.tar.bz2 mpv-b7052b431c92c2babd032885701fb56dfd3ec452.tar.xz |
command: add sub_reload and sub_remove commands
sub_remove remove an external subtitle track, for whatever this may be
needed.
sub_reload removes and re-adds an external subtitle track.
Also rename sub_load to sub_add, because that seems to be more in line
with sub_remove.
Diffstat (limited to 'core/input/input.h')
-rw-r--r-- | core/input/input.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/input/input.h b/core/input/input.h index a1c633ad69..b86f51a1e7 100644 --- a/core/input/input.h +++ b/core/input/input.h @@ -47,7 +47,9 @@ enum mp_command_type { MP_CMD_FRAME_STEP, MP_CMD_SPEED_MULT, MP_CMD_RUN, - MP_CMD_SUB_LOAD, + MP_CMD_SUB_ADD, + MP_CMD_SUB_REMOVE, + MP_CMD_SUB_RELOAD, MP_CMD_KEYDOWN_EVENTS, MP_CMD_SET, MP_CMD_GET_PROPERTY, |