From 2b7bc2dfc9265861bf0d05caf8c1f99ab09a4f1f Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Thu, 24 Apr 2014 17:56:26 +0200 Subject: options: rename audio-related options/properties MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Renamed options: --audiofile → --audio-file --audiofile-cache → --audio-file-cache --channels → --audio-channels --format → --audio-format --srate → --audio-samplerate Renamed properties: samplerate → audio-samplerate channels → audio-channels --- options/options.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'options') diff --git a/options/options.c b/options/options.c index 080e0f4b90..12cdda3e98 100644 --- a/options/options.c +++ b/options/options.c @@ -319,8 +319,8 @@ const m_option_t mp_opts[] = { #endif // demuxer.c - select audio/sub file/demuxer - OPT_STRING("audiofile", audio_stream, 0), - OPT_INTRANGE("audiofile-cache", audio_stream_cache, 0, 50, 65536), + OPT_STRING("audio-file", audio_stream, 0), + OPT_INTRANGE("audio-file-cache", audio_stream_cache, 0, 50, 65536), OPT_STRING("demuxer", demuxer_name, 0), OPT_STRING("audio-demuxer", audio_demuxer_name, 0), OPT_STRING("sub-demuxer", sub_demuxer_name, 0), @@ -343,9 +343,9 @@ const m_option_t mp_opts[] = { // force video/audio rate: OPT_DOUBLE("fps", force_fps, CONF_MIN | M_OPT_FIXED), - OPT_INTRANGE("srate", force_srate, 0, 1000, 8*48000), - OPT_CHMAP("channels", audio_output_channels, CONF_MIN, .min = 0), - OPT_AUDIOFORMAT("format", audio_output_format, 0), + OPT_INTRANGE("audio-samplerate", force_srate, 0, 1000, 8*48000), + OPT_CHMAP("audio-channels", audio_output_channels, CONF_MIN, .min = 0), + OPT_AUDIOFORMAT("audio-format", audio_output_format, 0), OPT_DOUBLE("speed", playback_speed, M_OPT_RANGE | M_OPT_FIXED, .min = 0.01, .max = 100.0), -- cgit v1.2.3