Mercurial > mplayer.hg
comparison mplayer.c @ 20502:81a92ae66d78
Move ass_library initialization code to ass_mp.c.
author | eugeni |
---|---|
date | Sun, 29 Oct 2006 15:26:13 +0000 |
parents | b7c0ac305d5d |
children | 6289755ce7c7 |
comparison
equal
deleted
inserted
replaced
20501:30df9a64618a | 20502:81a92ae66d78 |
---|---|
3106 #endif | 3106 #endif |
3107 #endif /* USE_OSD */ | 3107 #endif /* USE_OSD */ |
3108 vo_init_osd(); | 3108 vo_init_osd(); |
3109 | 3109 |
3110 #ifdef USE_ASS | 3110 #ifdef USE_ASS |
3111 { | 3111 ass_library = ass_init(); |
3112 char* path = get_path("fonts"); | |
3113 ass_library = ass_library_init(); | |
3114 ass_set_fonts_dir(ass_library, path); | |
3115 ass_set_extract_fonts(ass_library, extract_embedded_fonts); | |
3116 ass_set_style_overrides(ass_library, ass_force_style_list); | |
3117 free(path); | |
3118 } | |
3119 #endif | 3112 #endif |
3120 | 3113 |
3121 #ifdef HAVE_RTC | 3114 #ifdef HAVE_RTC |
3122 if(!nortc) | 3115 if(!nortc) |
3123 { | 3116 { |