Index: cfg-common.h =================================================================== RCS file: /cvsroot/mplayer/main/cfg-common.h,v retrieving revision 1.112 diff -u -r1.112 cfg-common.h --- cfg-common.h 6 Sep 2003 00:23:44 -0000 1.112 +++ cfg-common.h 5 Oct 2003 23:06:12 -0000 @@ -219,6 +219,7 @@ {"nounicode", &sub_unicode, CONF_TYPE_FLAG, 0, 1, 0, NULL}, {"utf8", &sub_utf8, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"noutf8", &sub_utf8, CONF_TYPE_FLAG, 0, 1, 0, NULL}, + {"forcedsubsonly", &forced_subs_only, CONF_TYPE_FLAG, 0, 0, 1, NULL}, // specify IFO file for VOBSUB subtitle {"ifo", &spudec_ifo, CONF_TYPE_STRING, 0, 0, 0, NULL}, // enable Closed Captioning display Index: cfg-mplayer.h =================================================================== RCS file: /cvsroot/mplayer/main/cfg-mplayer.h,v retrieving revision 1.206 diff -u -r1.206 cfg-mplayer.h --- cfg-mplayer.h 3 Oct 2003 18:13:15 -0000 1.206 +++ cfg-mplayer.h 5 Oct 2003 23:06:12 -0000 @@ -348,7 +348,6 @@ // these should be moved to -common, and suppot in mencoder too {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL}, {"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL}, - {"forcedsubsonly", &forced_subs_only,CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, Index: mencoder.c =================================================================== RCS file: /cvsroot/mplayer/main/mencoder.c,v retrieving revision 1.218 diff -u -r1.218 mencoder.c --- mencoder.c 13 Aug 2003 16:29:00 -0000 1.218 +++ mencoder.c 5 Oct 2003 23:06:16 -0000 @@ -74,6 +74,7 @@ int vo_doublebuffering=0; int vo_directrendering=0; int vo_config_count=0; +int forced_subs_only=0; //-------------------------- @@ -581,6 +582,8 @@ } #endif +// Apply current settings for forced subs +spudec_set_forced_subs_only(vo_spudec,forced_subs_only); // set up output file: muxer_f=fopen(out_filename,"wb");