From c3c0309eecc1d6b309138fcd40df508235c9395d Mon Sep 17 00:00:00 2001 From: Daniel Dawson Date: Tue, 1 Dec 2009 04:28:34 -0800 Subject: Support for multiple editions in Matroska Add code to intelligently choose an appropriate Matroska edition when there are several. Will choose, in descending order of preference: the edition chosen by the user through the option "-edition " if it exists, the first edition with EditionFlagDefault set to 1 if there is one, or the first edition. --- cfg-common-opts.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cfg-common-opts.h') diff --git a/cfg-common-opts.h b/cfg-common-opts.h index 7927bedf14..19a131220b 100644 --- a/cfg-common-opts.h +++ b/cfg-common-opts.h @@ -40,6 +40,7 @@ {"dvd-speed", "MPlayer was compiled without libdvdread support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, {"dvd", "MPlayer was compiled without libdvdread support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, #endif /* CONFIG_DVDREAD */ + OPT_INTRANGE("edition", edition_id, 0, -1, 8190), {"alang", &audio_lang, CONF_TYPE_STRING, 0, 0, 0, NULL}, {"slang", &dvdsub_lang, CONF_TYPE_STRING, 0, 0, 0, NULL}, -- cgit v1.2.3