724
|
1
|
|
2 #ifndef __MPLAYER_MAIN
|
|
3 #define __MPLAYER_MAIN
|
|
4
|
|
5 extern int divx_quality;
|
|
6
|
|
7 extern char* filename;
|
|
8 extern int i;
|
937
|
9 extern char *seek_to_sec;
|
724
|
10 extern int seek_to_byte;
|
|
11 extern int f; // filedes
|
|
12 extern int stream_type;
|
|
13 extern stream_t* stream;
|
|
14 extern int file_format;
|
|
15 extern int has_audio;
|
|
16 //int has_video=1;
|
|
17 //
|
|
18 extern int audio_format;
|
|
19 #ifdef ALSA_TIMER
|
|
20 extern int alsa;
|
|
21 #else
|
|
22 extern int alsa;
|
|
23 #endif
|
|
24 extern int audio_buffer_size;
|
|
25 extern int audio_id;
|
|
26 extern int video_id;
|
|
27 extern int dvdsub_id;
|
|
28 extern float default_max_pts_correction;
|
|
29 extern int delay_corrected;
|
|
30 extern float force_fps;
|
|
31 extern float audio_delay;
|
|
32 extern int vcd_track;
|
|
33 #ifdef VCD_CACHE
|
|
34 extern int vcd_cache_size;
|
|
35 #endif
|
|
36 extern int index_mode; // -1=untouched 0=don't use index 1=use (geneate) index
|
|
37 #ifdef AVI_SYNC_BPS
|
|
38 extern int pts_from_bps;
|
|
39 #else
|
|
40 extern int pts_from_bps;
|
|
41 #endif
|
|
42 extern char* title;
|
|
43 // screen info:
|
|
44 extern char* video_driver; //"mga"; // default
|
|
45 vo_functions_t *video_out;
|
|
46 extern int fullscreen;
|
|
47 extern int vidmode;
|
|
48 extern int softzoom;
|
|
49 extern int screen_size_x;//SCREEN_SIZE_X;
|
|
50 extern int screen_size_y;//SCREEN_SIZE_Y;
|
|
51 extern int screen_size_xy;
|
|
52 // movie info:
|
|
53 extern int out_fmt;
|
|
54 extern char *dsp;
|
|
55 extern int force_ni;
|
|
56 extern char *conffile;
|
|
57 extern int conffile_fd;
|
|
58 extern char *font_name;
|
|
59 extern float font_factor;
|
|
60 extern char *sub_name;
|
|
61 extern float sub_delay;
|
|
62 extern float sub_fps;
|
|
63 extern int sub_auto;
|
|
64 extern char *stream_dump_name;
|
|
65 extern int stream_dump_type;
|
|
66 //int user_bpp=0;
|
|
67
|
|
68 extern int verbose;
|
|
69
|
|
70 extern int osd_level;
|
|
71 extern int nogui;
|
|
72
|
1006
|
73 float a_frame; // Audio
|
|
74
|
937
|
75 extern float rel_seek_secs;
|
724
|
76
|
|
77 extern int osd_visible;
|
|
78 extern int osd_function;
|
|
79 extern int osd_last_pts;
|
|
80
|
|
81 extern int mplayer(int argc,char* argv[], char *envp[]);
|
|
82 extern void parse_cfgfiles( void );
|
|
83 extern void exit_player(char* how);
|
|
84
|
|
85 #endif |