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.)
This commit is contained in:
wm4
2015-04-15 14:26:54 +02:00
parent 3f8b8b8c0c
commit e6d7e55012
2 changed files with 2 additions and 1 deletions

View File

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