2001-05-08 12:59:03 +00:00
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#ifndef MPLAYER_MPLAYER_H
|
|
|
|
#define MPLAYER_MPLAYER_H
|
2001-05-08 12:59:03 +00:00
|
|
|
|
2008-04-21 03:07:22 +00:00
|
|
|
#include "mp_msg.h"
|
|
|
|
|
2002-02-23 15:12:55 +00:00
|
|
|
extern char* current_module;
|
2001-05-08 12:59:03 +00:00
|
|
|
|
2003-01-12 23:38:55 +00:00
|
|
|
extern char * dvd_device;
|
|
|
|
extern char * cdrom_device;
|
|
|
|
|
2002-09-28 18:03:34 +00:00
|
|
|
extern char ** audio_fm_list;
|
|
|
|
extern char ** video_fm_list;
|
2002-10-02 13:16:15 +00:00
|
|
|
extern char ** video_driver_list;
|
|
|
|
extern char ** audio_driver_list;
|
2002-07-25 20:34:33 +00:00
|
|
|
extern char * video_driver;
|
|
|
|
extern char * audio_driver;
|
|
|
|
extern float audio_delay;
|
|
|
|
|
2006-04-25 21:36:02 +00:00
|
|
|
extern unsigned int osd_visible;
|
2002-07-02 13:35:04 +00:00
|
|
|
|
2002-07-25 20:34:33 +00:00
|
|
|
extern char * font_name;
|
2007-05-20 16:10:45 +00:00
|
|
|
extern char * sub_font_name;
|
2002-07-25 20:34:33 +00:00
|
|
|
extern float font_factor;
|
2008-02-14 14:50:34 +00:00
|
|
|
extern double force_fps;
|
2002-07-25 20:34:33 +00:00
|
|
|
|
2003-04-07 16:04:02 +00:00
|
|
|
//extern char **sub_name;
|
2002-07-25 20:34:33 +00:00
|
|
|
extern float sub_delay;
|
|
|
|
extern float sub_fps;
|
|
|
|
extern int sub_auto;
|
|
|
|
|
2002-09-28 18:03:34 +00:00
|
|
|
extern int stream_cache_size;
|
2002-11-28 23:17:14 +00:00
|
|
|
extern int autosync;
|
2002-09-29 19:26:40 +00:00
|
|
|
|
2002-08-15 22:52:52 +00:00
|
|
|
extern int frame_dropping;
|
|
|
|
|
|
|
|
extern int auto_quality;
|
|
|
|
|
2002-12-11 01:21:12 +00:00
|
|
|
extern int vobsub_id;
|
2002-10-21 11:11:39 +00:00
|
|
|
|
2008-08-12 11:50:54 +00:00
|
|
|
static inline void exit_player_bad(const char *how)
|
2008-04-21 03:07:22 +00:00
|
|
|
{
|
|
|
|
if (how)
|
|
|
|
mp_msg(MSGT_CPLAYER, MSGL_INFO, "Deprecated exit call: %s", how);
|
|
|
|
exit(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
struct MPContext;
|
|
|
|
|
2008-12-03 23:55:52 +00:00
|
|
|
void update_set_of_subtitles(struct MPContext *mpctx);
|
2002-05-01 09:29:06 +00:00
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#endif /* MPLAYER_MPLAYER_H */
|