summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorMartin Herkt <lachs0r@srsfckn.biz>2014-04-24 17:56:26 +0200
committerMartin Herkt <lachs0r@srsfckn.biz>2014-05-04 02:46:11 +0200
commit2b7bc2dfc9265861bf0d05caf8c1f99ab09a4f1f (patch)
treef1000855d5576a23a545510283a696598124cd17 /options/options.c
parent8d7d6caeaf7901cd63596d17efbde3133699fcdf (diff)
downloadmpv-2b7bc2dfc9265861bf0d05caf8c1f99ab09a4f1f.tar.bz2
mpv-2b7bc2dfc9265861bf0d05caf8c1f99ab09a4f1f.tar.xz
options: rename audio-related options/properties
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
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c10
1 files changed, 5 insertions, 5 deletions
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),