From cfd3d5b52003a23376d02fd6cc581f46289badd2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 5 Feb 2015 22:14:17 +0100 Subject: 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. --- options/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options') 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, -- cgit v1.2.3