summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-02-10 19:03:24 +0100
committerwm4 <wm4@mplayer2.org>2012-02-10 19:14:19 +0100
commit489f61aa4c21a94e664632919577c91abdba89be (patch)
treed13294e72b812ea6ae138075b18dbe756aa50d2f /input/input.h
parent70bf6720963b912bceabb9ae691b5f2b79685b19 (diff)
downloadmpv-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.h1
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,