2001-05-08 14:59:03 +02:00
|
|
|
|
|
|
|
#ifndef __MPLAYER_MAIN
|
|
|
|
#define __MPLAYER_MAIN
|
|
|
|
|
2002-08-30 00:24:49 +02:00
|
|
|
#include "libvo/sub.h"
|
|
|
|
#include "subreader.h"
|
|
|
|
|
2002-02-21 23:48:47 +01:00
|
|
|
extern int use_gui;
|
2002-02-23 16:12:55 +01:00
|
|
|
extern char* current_module;
|
2001-05-08 14:59:03 +02:00
|
|
|
|
2003-01-13 00:38:55 +01:00
|
|
|
extern char * dvd_device;
|
|
|
|
extern char * cdrom_device;
|
|
|
|
|
2002-09-28 20:03:34 +02:00
|
|
|
extern char ** audio_fm_list;
|
|
|
|
extern char ** video_fm_list;
|
2002-10-02 15:16:15 +02:00
|
|
|
extern char ** video_driver_list;
|
|
|
|
extern char ** audio_driver_list;
|
2002-07-25 22:34:33 +02:00
|
|
|
extern char * video_driver;
|
|
|
|
extern char * audio_driver;
|
|
|
|
extern float audio_delay;
|
|
|
|
|
2002-07-02 15:35:04 +02:00
|
|
|
extern int osd_level;
|
2006-04-25 23:36:02 +02:00
|
|
|
extern unsigned int osd_visible;
|
2002-07-02 15:35:04 +02:00
|
|
|
|
2002-07-25 22:34:33 +02:00
|
|
|
extern char * font_name;
|
|
|
|
extern float font_factor;
|
2002-09-28 23:16:12 +02:00
|
|
|
extern float movie_aspect;
|
2003-01-21 14:33:40 +01:00
|
|
|
extern float force_fps;
|
2002-07-25 22:34:33 +02:00
|
|
|
|
2003-04-07 18:04:02 +02:00
|
|
|
//extern char **sub_name;
|
2002-07-25 22:34:33 +02:00
|
|
|
extern float sub_delay;
|
|
|
|
extern float sub_fps;
|
|
|
|
extern int sub_auto;
|
2002-08-16 00:52:52 +02:00
|
|
|
extern int sub_pos;
|
|
|
|
extern int sub_unicode;
|
2003-01-21 20:12:46 +01:00
|
|
|
extern char * sub_cp;
|
2003-04-07 18:04:02 +02:00
|
|
|
extern sub_data* subdata; //currently used subtitles
|
2002-08-30 00:24:49 +02:00
|
|
|
extern subtitle* vo_sub;
|
2003-01-02 15:41:40 +01:00
|
|
|
extern int suboverlap_enabled;
|
2002-07-25 22:34:33 +02:00
|
|
|
|
2002-07-03 20:57:52 +02:00
|
|
|
extern char * filename;
|
|
|
|
|
2002-09-28 20:03:34 +02:00
|
|
|
extern int stream_cache_size;
|
2002-08-16 00:52:52 +02:00
|
|
|
extern int force_ni;
|
|
|
|
extern int index_mode;
|
2002-11-29 00:17:14 +01:00
|
|
|
extern int autosync;
|
2002-09-29 21:26:40 +02:00
|
|
|
|
|
|
|
// libmpcodecs:
|
|
|
|
extern int fullscreen;
|
|
|
|
extern int flip;
|
|
|
|
|
2002-08-16 00:52:52 +02:00
|
|
|
extern int frame_dropping;
|
|
|
|
|
|
|
|
extern int auto_quality;
|
|
|
|
|
2002-10-21 13:11:39 +02:00
|
|
|
extern int audio_id;
|
|
|
|
extern int video_id;
|
|
|
|
extern int dvdsub_id;
|
2002-12-11 02:21:12 +01:00
|
|
|
extern int vobsub_id;
|
2002-10-21 13:11:39 +02:00
|
|
|
|
2006-07-15 18:03:12 +02:00
|
|
|
extern void exit_player(const char* how);
|
2006-02-09 15:08:03 +01:00
|
|
|
extern void update_set_of_subtitles(void);
|
2002-05-01 11:29:06 +02:00
|
|
|
|
2002-06-08 00:43:29 +02:00
|
|
|
#endif
|