comparison mplayer.c @ 8535:bc7bd163fff9

Here is the patch to make vobsub subtitle use -slang option, I have not made a new option for vobsub. Now mplayer will use the setting of slang first, and then langidx from .idx file, if all failed, no sub. patch by hephooey@fastmail.fm
author arpi
date Mon, 23 Dec 2002 01:54:58 +0000
parents 922ce27eb683
children 2c7870bf81db
comparison
equal deleted inserted replaced
8534:922ce27eb683 8535:bc7bd163fff9
1037 free(buf); 1037 free(buf);
1038 } 1038 }
1039 if(vo_vobsub){ 1039 if(vo_vobsub){
1040 sub_auto=0; // don't do autosub for textsubs if vobsub found 1040 sub_auto=0; // don't do autosub for textsubs if vobsub found
1041 inited_flags|=INITED_VOBSUB; 1041 inited_flags|=INITED_VOBSUB;
1042 vobsub_set_from_lang(vo_vobsub, dvdsub_lang);
1042 } 1043 }
1043 1044
1044 //============ Open & Sync STREAM --- fork cache2 ==================== 1045 //============ Open & Sync STREAM --- fork cache2 ====================
1045 1046
1046 stream=NULL; 1047 stream=NULL;