summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-27 18:39:57 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-27 18:39:57 +0000
commitbc212e3500ef776f849a9ee6c04dfaa4994c62f6 (patch)
treedb17bd96a83006cdbc73509954b4a39066749b9f /input/input.h
parentcc6c63c03c6eb5e5913c9795bfb13c5284ad24de (diff)
downloadmpv-bc212e3500ef776f849a9ee6c04dfaa4994c62f6.tar.bz2
mpv-bc212e3500ef776f849a9ee6c04dfaa4994c62f6.tar.xz
Add a slave command to stop stream playback.
Mostly useful when used with -idle mode. Patch by Mathieu Schroeter ( mathieu dot schroeter at gamesover dot ch ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26909 b3059339-0415-0410-9bf9-f77b7e298cf2
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 e6381b3e34..74185ed9e1 100644
--- a/input/input.h
+++ b/input/input.h
@@ -109,6 +109,7 @@
#define MP_CMD_SWITCH_ANGLE 105
#define MP_CMD_ASS_USE_MARGINS 106
#define MP_CMD_SWITCH_TITLE 107
+#define MP_CMD_STOP 108
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001