annotate mplayer.h @ 1940:420c8c66c7ba

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