summaryrefslogtreecommitdiffstats
path: root/mplayer.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 /mplayer.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 'mplayer.c')
-rw-r--r--mplayer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 1d4845a102..0fc1e75967 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2353,9 +2353,10 @@ static void pause_loop(void)
mpctx->audio_out->pause(); // pause audio, keep data if possible
while ( (cmd = mp_input_get_cmd(20, 1, 1)) == NULL
- || cmd->id == MP_CMD_SET_MOUSE_POS) {
+ || cmd->id == MP_CMD_SET_MOUSE_POS || cmd->pausing == 4) {
if (cmd) {
cmd = mp_input_get_cmd(0,1,0);
+ run_command(mpctx, cmd);
mp_cmd_free(cmd);
continue;
}