libass: If a bad subtitle has multiple \pos use first
[mplayer/glamo.git] / mplayer.h
blobc59b4ca723986d471dab2e659dcdf4bcf45f697b
2 #ifndef MPLAYER_MPLAYER_H
3 #define MPLAYER_MPLAYER_H
5 #include "mp_msg.h"
7 extern char* current_module;
9 extern char * dvd_device;
10 extern char * cdrom_device;
12 extern char ** audio_fm_list;
13 extern char ** video_fm_list;
14 extern char ** video_driver_list;
15 extern char ** audio_driver_list;
16 extern char * video_driver;
17 extern char * audio_driver;
18 extern float audio_delay;
20 extern int osd_level;
21 extern unsigned int osd_visible;
23 extern char * font_name;
24 extern char * sub_font_name;
25 extern float font_factor;
26 extern double force_fps;
28 //extern char **sub_name;
29 extern float sub_delay;
30 extern float sub_fps;
31 extern int sub_auto;
33 extern int stream_cache_size;
34 extern int autosync;
36 extern int frame_dropping;
38 extern int auto_quality;
40 extern int vobsub_id;
42 static inline void exit_player_bad(const char *how)
44 if (how)
45 mp_msg(MSGT_CPLAYER, MSGL_INFO, "Deprecated exit call: %s", how);
46 exit(1);
49 struct MPContext;
51 void update_set_of_subtitles(struct MPContext *mpctx);
53 #endif /* MPLAYER_MPLAYER_H */