2001-05-08 12:59:03 +00:00
|
|
|
|
|
|
|
#ifndef __MPLAYER_MAIN
|
|
|
|
#define __MPLAYER_MAIN
|
|
|
|
|
2002-08-29 22:24:49 +00:00
|
|
|
#include "libvo/sub.h"
|
|
|
|
#include "subreader.h"
|
|
|
|
|
2002-02-21 22:48:47 +00:00
|
|
|
extern int use_gui;
|
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;
|
|
|
|
|
2002-07-02 13:35:04 +00:00
|
|
|
extern int osd_level;
|
|
|
|
extern int osd_visible;
|
|
|
|
|
2002-07-25 20:34:33 +00:00
|
|
|
extern char * font_name;
|
|
|
|
extern float font_factor;
|
2002-09-28 21:16:12 +00:00
|
|
|
extern float movie_aspect;
|
2003-01-21 13:33:40 +00:00
|
|
|
extern float 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-08-15 22:52:52 +00:00
|
|
|
extern int sub_pos;
|
|
|
|
extern int sub_unicode;
|
2003-01-21 19:12:46 +00:00
|
|
|
extern char * sub_cp;
|
2003-04-07 16:04:02 +00:00
|
|
|
extern sub_data* subdata; //currently used subtitles
|
2002-08-29 22:24:49 +00:00
|
|
|
extern subtitle* vo_sub;
|
2003-01-02 14:41:40 +00:00
|
|
|
extern int suboverlap_enabled;
|
2002-07-25 20:34:33 +00:00
|
|
|
|
2002-07-03 18:57:52 +00:00
|
|
|
extern char * filename;
|
|
|
|
|
2002-09-28 18:03:34 +00:00
|
|
|
extern int stream_cache_size;
|
2002-08-15 22:52:52 +00:00
|
|
|
extern int force_ni;
|
|
|
|
extern int index_mode;
|
2002-11-28 23:17:14 +00:00
|
|
|
extern int autosync;
|
2002-09-29 19:26:40 +00:00
|
|
|
|
|
|
|
// libmpcodecs:
|
|
|
|
extern int fullscreen;
|
|
|
|
extern int flip;
|
|
|
|
|
2002-08-15 22:52:52 +00:00
|
|
|
extern int frame_dropping;
|
|
|
|
|
|
|
|
extern int auto_quality;
|
|
|
|
|
2002-10-21 11:11:39 +00:00
|
|
|
extern int audio_id;
|
|
|
|
extern int video_id;
|
|
|
|
extern int dvdsub_id;
|
2002-12-11 01:21:12 +00:00
|
|
|
extern int vobsub_id;
|
2002-10-21 11:11:39 +00:00
|
|
|
|
2002-05-01 09:29:06 +00:00
|
|
|
extern void exit_player(char* how);
|
2006-02-09 14:08:03 +00:00
|
|
|
extern void update_set_of_subtitles(void);
|
2002-05-01 09:29:06 +00:00
|
|
|
|
2002-06-07 22:43:29 +00:00
|
|
|
#endif
|