summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-13 02:05:37 +0200
committerwm4 <wm4@nowhere>2014-06-13 02:05:37 +0200
commit98a31d5937e8397d8fcd0fefe56630a1cd765cf0 (patch)
tree047059fc97815b1ddafd35f1e68717a09cfed61e /options/options.h
parenta7a14be088b6af60a506db04e5ee864112bc5544 (diff)
downloadmpv-98a31d5937e8397d8fcd0fefe56630a1cd765cf0.tar.bz2
mpv-98a31d5937e8397d8fcd0fefe56630a1cd765cf0.tar.xz
options: turn --idx, --forceidx into --index
Also clarify the semantics. It seems --idx didn't do anything. Possibly it used to change how the now removed legacy demuxers like demux_avi used to behave. Or maybe it was accidental. --forceidx basically becomes --index=force. It's possible that new index modes will be added in the future, so I'm keeping it extensible, instead of e.g. creating --force-index.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.h b/options/options.h
index 5368c2c1e1..b93a283b61 100644
--- a/options/options.h
+++ b/options/options.h
@@ -189,7 +189,7 @@ typedef struct MPOpts {
char *screenshot_template;
double force_fps;
- int index_mode; // -1=untouched 0=don't use index 1=use (generate) index
+ int index_mode;
struct mp_chmap audio_output_channels;
int audio_output_format;