summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-05 22:14:17 +0100
committerwm4 <wm4@nowhere>2015-02-05 22:14:17 +0100
commitcfd3d5b52003a23376d02fd6cc581f46289badd2 (patch)
tree1b8ec65d39459b99bd8059f196d146ae04f33d0a /options/options.c
parent3b5d7d1a1c664d15fa35992498ac4568ebc39e3b (diff)
downloadmpv-cfd3d5b52003a23376d02fd6cc581f46289badd2.tar.bz2
mpv-cfd3d5b52003a23376d02fd6cc581f46289badd2.tar.xz
player: do not autoload audio with audio files, enable autoloading
Autoload external audio files only if there's at least a video track (which is not coverart pseudo-video). Enable external audio file autoloading by default. Now that we actively avoid doing stupid things like loading an external audio file for an audio-only file, this should be fine. Additionally, don't autoload subtitles if a subtitle is played. Although you currently can't play subtitles without audio or video, it's disturbing and stupid that the player might load subtitle files with different extension and then fail.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c
index 6f23f2c499..acc2c99b9e 100644
--- a/options/options.c
+++ b/options/options.c
@@ -764,7 +764,7 @@ const struct MPOpts mp_default_opts = {
.movie_aspect = -1.,
.field_dominance = -1,
.sub_auto = 0,
- .audiofile_auto = -1,
+ .audiofile_auto = 0,
.osd_bar_visible = 1,
#if HAVE_LIBASS
.ass_enabled = 1,