From c6628a5fb618715910ac7cb6d247fc0c0650517b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 12 Aug 2017 23:43:05 +0200 Subject: player: add --track-auto-selection option I imagine this is useful. Or maybe it isn't. --- options/options.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index 30249467aa..3400f9ee96 100644 --- a/options/options.c +++ b/options/options.c @@ -361,6 +361,7 @@ const m_option_t mp_opts[] = { OPT_ALIAS("audio", "aid"), OPT_STRINGLIST("alang", stream_lang[STREAM_AUDIO], 0), OPT_STRINGLIST("slang", stream_lang[STREAM_SUB], 0), + OPT_FLAG("track-auto-selection", stream_auto_sel, 0), OPT_STRING("lavfi-complex", lavfi_complex, UPDATE_LAVFI_COMPLEX), @@ -921,6 +922,7 @@ const struct MPOpts mp_default_opts = { .stream_id_ff = { [STREAM_AUDIO] = -1, [STREAM_VIDEO] = -1, [STREAM_SUB] = -1, }, + .stream_auto_sel = 1, .audio_display = 1, .sub_visibility = 1, .sub_pos = 100, -- cgit v1.2.3