summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2010-11-11 16:34:53 +0100
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-11 17:51:03 +0200
commit449484179f05ed6178663cab7b565eff7c884798 (patch)
tree4bfbe99c2b0e004ad5cfe6a7d1ee458f04b9a4d4 /cfg-common.h
parent6526bee39b2eed8b6567e9e9046d2ecbeacc7d66 (diff)
downloadmpv-449484179f05ed6178663cab7b565eff7c884798.tar.bz2
mpv-449484179f05ed6178663cab7b565eff7c884798.tar.xz
options: move [no]hr-mp3-seek to option struct
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 836a1f8fa0..b9baf8fa3a 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -55,7 +55,6 @@ extern int reuse_socket;
extern int dvd_speed; /* stream/stream_dvd.c */
/* defined in libmpdemux: */
-extern int hr_mp3_seek;
extern const m_option_t demux_rawaudio_opts[];
extern const m_option_t demux_rawvideo_opts[];
extern const m_option_t cdda_opts[];
@@ -512,8 +511,7 @@ const m_option_t common_opts[] = {
OPT_STRING("alang", audio_lang, 0),
OPT_STRING("slang", sub_lang, 0),
- { "hr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 0, 1, NULL },
- { "nohr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 1, 0, NULL},
+ OPT_MAKE_FLAGS("hr-mp3-seek", hr_mp3_seek, 0),
{ "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
{ "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},