diff mencoder.c @ 11573:b293b4eb2c8c

Forced subs support for mencoder Patch by Corey Hickey <bugfood-ml@fatooh.org>
author attila
date Mon, 08 Dec 2003 09:32:40 +0000
parents 18d3b3a1101b
children 90953d955165
line wrap: on
line diff
--- a/mencoder.c	Mon Dec 08 01:10:31 2003 +0000
+++ b/mencoder.c	Mon Dec 08 09:32:40 2003 +0000
@@ -96,6 +96,7 @@
 int vo_doublebuffering=0;
 int vo_directrendering=0;
 int vo_config_count=0;
+int forced_subs_only=0;
 
 //--------------------------
 
@@ -611,6 +612,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");