From 449484179f05ed6178663cab7b565eff7c884798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Thu, 11 Nov 2010 16:34:53 +0100 Subject: options: move [no]hr-mp3-seek to option struct --- cfg-common.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cfg-common.h') 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}, -- cgit v1.2.3