Mercurial > mplayer.hg
annotate libvo/geometry.h @ 20482:16b90fde05c9
Always initialize libass to fix crashes caused by use without initialization.
Library init was only done if ass_enabled was true at program startup.
However there are at least 2 ways how MPlayer can later try to access
the library even if ass_enabled is false at that point:
- per-file options can turn on ass support later
- if the embeddedfonts option is enabled and the file has fonts
demux_mkv will call ass_process_font
author | uau |
---|---|
date | Sun, 29 Oct 2006 00:23:12 +0000 |
parents | 398c24cecdc7 |
children | 3f0d00abc073 |
rev | line source |
---|---|
7866
732a8bfc7681
Added the -geometry option (supports fbdev and tdfxfb drivers)
mark
parents:
diff
changeset
|
1 /* This file (C) Mark Zealey <mark@zealos.org 2002, released under GPL */ |
732a8bfc7681
Added the -geometry option (supports fbdev and tdfxfb drivers)
mark
parents:
diff
changeset
|
2 #ifndef __GEOMETRY_H |
732a8bfc7681
Added the -geometry option (supports fbdev and tdfxfb drivers)
mark
parents:
diff
changeset
|
3 #define __GEOMETRY_H |
732a8bfc7681
Added the -geometry option (supports fbdev and tdfxfb drivers)
mark
parents:
diff
changeset
|
4 |
732a8bfc7681
Added the -geometry option (supports fbdev and tdfxfb drivers)
mark
parents:
diff
changeset
|
5 extern char *vo_geometry; |
11125 | 6 extern int geometry_wh_changed; |
11996
398c24cecdc7
dont mess with the window position in xinerama when -geometry changes it.
attila
parents:
11125
diff
changeset
|
7 extern int geometry_xy_changed; |
9517 | 8 int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh); |
7866
732a8bfc7681
Added the -geometry option (supports fbdev and tdfxfb drivers)
mark
parents:
diff
changeset
|
9 #endif /* !__GEOMETRY_H */ |