diff options
author | wm4 <wm4@nowhere> | 2013-01-09 01:16:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-09 01:16:15 +0100 |
commit | c45132cb92f95e56b0c0e6380c9c83bc4d92c4f0 (patch) | |
tree | d71985a7fbbfc7e6da3e9ecba412ff13234aa636 | |
parent | 53a4486fb6f2be3dcfc02ca853e0d7b46b0d2d9d (diff) | |
download | mpv-c45132cb92f95e56b0c0e6380c9c83bc4d92c4f0.tar.bz2 mpv-c45132cb92f95e56b0c0e6380c9c83bc4d92c4f0.tar.xz |
mplayer: keep pause state when frame stepping in last frame
When the last frame is displayed, and a frame step command is issued,
playback ands and advances to the next file. But before this commit,
the next file was played unpause. Fix this, and make sure pause is
kept.
-rw-r--r-- | core/mplayer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/mplayer.c b/core/mplayer.c index 0fa93316a6..99fdd128d1 100644 --- a/core/mplayer.c +++ b/core/mplayer.c @@ -4166,6 +4166,9 @@ goto_enable_cache: ; terminate_playback: // don't jump here after ao/vo/getch initialization! + if (mpctx->step_frames) + mpctx->paused = 1; + mp_msg(MSGT_CPLAYER, MSGL_INFO, "\n"); // xxx handle this as INITIALIZED_CONFIG? |