summaryrefslogtreecommitdiffstats
path: root/mp_core.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 /mp_core.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 'mp_core.h')
-rw-r--r--mp_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mp_core.h b/mp_core.h
index 57d32ffafa..947778a181 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -39,6 +39,7 @@
#define PT_PREV_SRC -2
#define PT_UP_NEXT 3
#define PT_UP_PREV -3
+#define PT_STOP 4
typedef struct MPContext {