1
mirror of https://github.com/mpv-player/mpv synced 2024-11-07 01:47:00 +01:00

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.
This commit is contained in:
wm4 2013-01-09 01:16:15 +01:00
parent 53a4486fb6
commit c45132cb92

View File

@ -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?