From 22c88e74e34fc32413fd3a32a8bbe94fcf97c7d0 Mon Sep 17 00:00:00 2001 From: attila Date: Mon, 8 Dec 2003 09:32:40 +0000 Subject: Forced subs support for mencoder Patch by Corey Hickey git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11574 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mencoder.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mencoder.c') diff --git a/mencoder.c b/mencoder.c index 1782701faf..5b5035aab3 100644 --- a/mencoder.c +++ b/mencoder.c @@ -96,6 +96,7 @@ static uint32_t lavc_find_atag(char *codec); int vo_doublebuffering=0; int vo_directrendering=0; int vo_config_count=0; +int forced_subs_only=0; //-------------------------- @@ -611,6 +612,8 @@ vo_spudec=spudec_new_scaled(stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream- } #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"); -- cgit v1.2.3