diff options
author | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-17 11:23:58 +0000 |
---|---|---|
committer | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-17 11:23:58 +0000 |
commit | 647585034a58fe27544cea7dd117d4c1a2254488 (patch) | |
tree | 1d6006fe5af4a49af59de1f1c978be48feeaeb20 | |
parent | adb4813ca8650d3df7345d218e7f47970e097561 (diff) |
Fix pausing_toggle not continue play bug when it follows a pause immediately.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25060 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | command.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2800,7 +2800,11 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd) break; case 3: // "pausing_toggle" mpctx->was_paused = !mpctx->was_paused; - // fall through + if (mpctx->was_paused) + mpctx->osd_function = OSD_PAUSE; + else if (mpctx->osd_function == OSD_PAUSE) + mpctx->osd_function = OSD_PLAY; + break; case 2: // "pausing_keep" if (mpctx->was_paused) mpctx->osd_function = OSD_PAUSE; |