From 5fcd29eb4010835d2879304e7a404d575206fcbf Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 29 Feb 2012 03:07:10 +0100 Subject: 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. --- cfg-mplayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cfg-mplayer.h') diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 4fc7b4ddd7..0664d004a1 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -486,7 +486,7 @@ const m_option_t common_opts[] = { OPT_TIME("ss", seek_to_sec, 0), // start paused - OPT_FLAG_ON("paused", start_paused, 0), + OPT_FLAG_ON("pause", start_paused, 0), // stop at given position {"endpos", &end_at, CONF_TYPE_TIME_SIZE, 0, 0, 0, NULL}, -- cgit v1.2.3