annotate loader/ldt_keeper.h @ 20706:6ae01628975f
Initialize fontconfig in VFCTRL_INIT_EOSD handler.
Recent libass api changes moved fontconfig initialization to filter's
config() function. It is bad, because cache update can take a long time,
resulting in unpleasant sound effects. This change restores the original
behaviour.
author |
eugeni |
date |
Sun, 05 Nov 2006 18:56:31 +0000 |
parents |
174e2a58b4cd |
children |
2de480457872 |
rev |
line source |
2067
|
1 #ifndef LDT_KEEPER_H
|
|
2 #define LDT_KEEPER_H
|
|
3
|
|
4 #ifdef __cplusplus
|
|
5 extern "C"
|
|
6 {
|
|
7 #endif
|
7386
|
8
|
|
9 typedef struct {
|
|
10 void* fs_seg;
|
|
11 char* prev_struct;
|
|
12 int fd;
|
|
13 } ldt_fs_t;
|
|
14
|
2067
|
15 void Setup_FS_Segment(void);
|
7386
|
16 ldt_fs_t* Setup_LDT_Keeper(void);
|
|
17 void Restore_LDT_Keeper(ldt_fs_t* ldt_fs);
|
2067
|
18 #ifdef __cplusplus
|
|
19 }
|
|
20 #endif
|
|
21
|
|
22 #endif /* LDT_KEEPER_H */
|