summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-04-05 11:07:08 +0200
committerwm4 <wm4@nowhere>2017-04-05 11:07:08 +0200
commit93bd1a7d4aa4e801e1d8b19b5937ff59fec12503 (patch)
tree0009f7e9dcac6c339dd37a281879ac8ae4c4f465
parent400a7c409fa15252055e5747d7bff9acf593dd25 (diff)
downloadmpv-93bd1a7d4aa4e801e1d8b19b5937ff59fec12503.tar.bz2
mpv-93bd1a7d4aa4e801e1d8b19b5937ff59fec12503.tar.xz
options: assing proper default value for --audio-channels
This will make --list-options (and some other code paths) actually return the proper default. Shouldn't change behavior.
-rw-r--r--options/options.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 62dc73b636..5333cf406c 100644
--- a/options/options.c
+++ b/options/options.c
@@ -948,6 +948,11 @@ const struct MPOpts mp_default_opts = {
.hwdec_codecs = "h264,vc1,wmv3,hevc,mpeg2video,vp9",
.videotoolbox_format = IMGFMT_NV12,
+ .audio_output_channels = {
+ .set = 1,
+ .auto_safe = 1,
+ },
+
.index_mode = 1,
.mf_fps = 1.0,