summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-25 17:40:33 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-25 17:40:33 +0000
commit97cf6acdab92ebe3f0f4c6aad3a400c8768fa911 (patch)
tree0184fc4b74ba2104efe501b8bc162b6a5281f431 /input/input.c
parentfdcf78eec4b9b767c7d10a698dabf6165a65dd1e (diff)
downloadmpv-97cf6acdab92ebe3f0f4c6aad3a400c8768fa911.tar.bz2
mpv-97cf6acdab92ebe3f0f4c6aad3a400c8768fa911.tar.xz
Add an experimental pausing_keep_force slave mode command prefix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27665 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.c')
-rw-r--r--input/input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 0a9b571f0e..f828a48038 100644
--- a/input/input.c
+++ b/input/input.c
@@ -771,6 +771,9 @@ mp_input_parse_cmd(char* str) {
} else if (strncmp(str, "pausing_toggle ", 15) == 0) {
pausing = 3;
str = &str[15];
+ } else if (strncmp(str, "pausing_keep_force ", 19) == 0) {
+ pausing = 4;
+ str = &str[19];
}
for(ptr = str ; ptr[0] != '\0' && ptr[0] != '\t' && ptr[0] != ' ' ; ptr++)