From e6d7e550125873f46126f3d23c4970df1976a269 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 15 Apr 2015 14:26:54 +0200 Subject: options: --hr-seek=always is the same as --hr-seek=yes It seems this choice was never documented. "always" is actually older than "yes", so just declare it a compatibility value for "yes". (Also move it before "always" in the C code to make this clear.) --- DOCS/man/options.rst | 1 + options/options.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 31461817a9..9fcb143ccc 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -181,6 +181,7 @@ Playback Control file, such as a chapter seek, but not for relative seeks like the default behavior of arrow keys (default). :yes: Use precise seeks whenever possible. + :always: Same as ``yes`` (for compatibility). ``--hr-seek-demuxer-offset=`` This option exists to work around failures to do precise seeks (as in diff --git a/options/options.c b/options/options.c index 8dc5cab255..4906d500a4 100644 --- a/options/options.c +++ b/options/options.c @@ -511,7 +511,7 @@ const m_option_t mp_opts[] = { ({"auto", 0}, {"decoder", 1}, {"sort", 2})), OPT_FLAG("initial-audio-sync", initial_audio_sync, 0), OPT_CHOICE("hr-seek", hr_seek, 0, - ({"no", -1}, {"absolute", 0}, {"always", 1}, {"yes", 1})), + ({"no", -1}, {"absolute", 0}, {"yes", 1}, {"always", 1})), OPT_FLOATRANGE("hr-seek-demuxer-offset", hr_seek_demuxer_offset, 0, -9, 99), OPT_FLAG("hr-seek-framedrop", hr_seek_framedrop, 0), OPT_CHOICE_OR_INT("autosync", autosync, 0, 0, 10000, -- cgit v1.2.3