diff options
author | wm4 <wm4@mplayer2.org> | 2012-02-10 19:03:24 +0100 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-02-10 19:14:19 +0100 |
commit | 489f61aa4c21a94e664632919577c91abdba89be (patch) | |
tree | d13294e72b812ea6ae138075b18dbe756aa50d2f /input/input.h | |
parent | 70bf6720963b912bceabb9ae691b5f2b79685b19 (diff) | |
download | mpv-489f61aa4c21a94e664632919577c91abdba89be.tar.bz2 mpv-489f61aa4c21a94e664632919577c91abdba89be.tar.xz |
commands: add pt_clear command to clear playlist
This deletes all playlist elements, except the currently active
playlist entry.
NOTE: this doesn't remove parent nodes in the case when we really have
a play tree (as opposed to a play list). Apparently this doesn't cause
any harm.
Diffstat (limited to 'input/input.h')
-rw-r--r-- | input/input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.h b/input/input.h index 99a69c7355..084e2dd3e7 100644 --- a/input/input.h +++ b/input/input.h @@ -50,6 +50,7 @@ enum mp_command_type { MP_CMD_MUTE, MP_CMD_LOADFILE, MP_CMD_LOADLIST, + MP_CMD_PLAY_TREE_CLEAR, MP_CMD_VF_CHANGE_RECTANGLE, MP_CMD_GAMMA, MP_CMD_SUB_VISIBILITY, |