diff options
author | wm4 <wm4@mplayer2.org> | 2012-02-29 03:07:10 +0100 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-02-29 03:07:10 +0100 |
commit | 5fcd29eb4010835d2879304e7a404d575206fcbf (patch) | |
tree | e5af8aeeb3605c4a93da34c28d3ec3fbe7de1ce2 /mplayer.c | |
parent | 4b553cd676eadc21a68ac63ec71cca10e44cf5e8 (diff) | |
download | mpv-5fcd29eb4010835d2879304e7a404d575206fcbf.tar.bz2 mpv-5fcd29eb4010835d2879304e7a404d575206fcbf.tar.xz |
core: rename --paused to --pause, and improve how pausing is done
Callign add_step_frame is not necessary, because mplayer always decodes
at least one frame when starting a new file. Calling pause_player is
sufficient, and unlike add_step_frame doesn't play any audio.
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5003,7 +5003,7 @@ goto_enable_cache: mpctx->paused ? VOCTRL_PAUSE : VOCTRL_RESUME, NULL); if (mpctx->opts.start_paused) - add_step_frame(mpctx); + pause_player(mpctx); while (!mpctx->stop_play) run_playloop(mpctx); |