[MPlayer-cvslog] r29729 - trunk/cfg-common-opts.h

reimar subversion at mplayerhq.hu
Mon Sep 28 13:31:26 CEST 2009


Author: reimar
Date: Mon Sep 28 13:31:25 2009
New Revision: 29729

Log:
Allow -1 and -2 values for -aid, -vid and -sid (meaning "auto" and "disabled" respectively).

Modified:
   trunk/cfg-common-opts.h

Modified: trunk/cfg-common-opts.h
==============================================================================
--- trunk/cfg-common-opts.h	Mon Sep 28 13:26:19 2009	(r29728)
+++ trunk/cfg-common-opts.h	Mon Sep 28 13:31:25 2009	(r29729)
@@ -128,10 +128,10 @@
 	{"loadidx", &index_file_load, CONF_TYPE_STRING, 0, 0, 0, NULL},
 
 	// select audio/video/subtitle stream
-	{"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 8190, NULL},
+	{"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, -2, 8190, NULL},
 	{"ausid", &audio_substream_id, CONF_TYPE_INT, 0, 0, 0, NULL},
-	{"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 8190, NULL},
-	{"sid", &dvdsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 8190, NULL},
+	{"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, -2, 8190, NULL},
+	{"sid", &dvdsub_id, CONF_TYPE_INT, CONF_RANGE, -2, 8190, NULL},
 	{"novideo", &video_id, CONF_TYPE_FLAG, 0, -1, -2, NULL},
 
 	{ "hr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 0, 1, NULL },


More information about the MPlayer-cvslog mailing list