changeset 17297:6607f0123a96

disable dvd subtitles by default
author nicodvb
date Tue, 03 Jan 2006 20:55:27 +0000
parents bf3137011b12
children 104b09de82b9
files mencoder.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Tue Jan 03 17:18:44 2006 +0000
+++ b/mencoder.c	Tue Jan 03 20:55:27 2006 +0000
@@ -105,7 +105,7 @@
 
 int audio_id=-1;
 int video_id=-1;
-int dvdsub_id=-1;
+int dvdsub_id=-2;
 int vobsub_id=-1;
 char* audio_lang=NULL;
 char* dvdsub_lang=NULL;
@@ -562,7 +562,7 @@
 #ifdef USE_DVDREAD
 if(stream->type==STREAMTYPE_DVD){
   if(audio_lang && audio_id==-1) audio_id=dvd_aid_from_lang(stream,audio_lang);
-  if(dvdsub_lang && dvdsub_id==-1) dvdsub_id=dvd_sid_from_lang(stream,dvdsub_lang);
+  if(dvdsub_lang && dvdsub_id==-2) dvdsub_id=dvd_sid_from_lang(stream,dvdsub_lang);
 }
 #endif