Mercurial > mplayer.hg
annotate mplayer.h @ 7492:5465cbd5c5ef
Modern versions of OpenSSH listen on localhost to forward the X11 connection
(X11UseLocalhost defaults to yes). The following patch permits to consider
as non local any DISPLAY environment which port is greater or equal to 10
else mplayer tries a local optimization on a distant X server which doesn't
work.
patch by Denis.Ducamp@groar.org
author | arpi |
---|---|
date | Mon, 23 Sep 2002 21:17:30 +0000 |
parents | 02b1976e12e2 |
children | e3ca9e707857 |
rev | line source |
---|---|
724 | 1 |
2 #ifndef __MPLAYER_MAIN | |
3 #define __MPLAYER_MAIN | |
4 | |
7150 | 5 #include "libvo/sub.h" |
6 #include "subreader.h" | |
7 | |
4798 | 8 extern int use_gui; |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
4798
diff
changeset
|
9 extern char* current_module; |
4981 | 10 extern int fullscreen; |
6280 | 11 extern int vcd_track; |
724 | 12 |
7186 | 13 extern char * audio_fm; |
14 extern char * video_fm; | |
6796 | 15 extern char * video_driver; |
16 extern char * audio_driver; | |
17 extern int has_audio; | |
18 extern float audio_delay; | |
19 | |
6619
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
20 extern int osd_level; |
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
21 extern int osd_visible; |
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
22 |
6796 | 23 extern char * font_name; |
24 extern float font_factor; | |
25 | |
6627 | 26 extern char * sub_name; |
6796 | 27 extern float sub_delay; |
28 extern float sub_fps; | |
29 extern int sub_auto; | |
7019 | 30 extern int sub_pos; |
31 extern int sub_unicode; | |
7150 | 32 extern subtitle* subtitles; |
33 extern subtitle* vo_sub; | |
6796 | 34 |
6627 | 35 extern char * filename; |
36 | |
7019 | 37 extern int flip; |
38 extern int force_ni; | |
39 extern int index_mode; | |
40 extern int frame_dropping; | |
41 | |
42 extern int auto_quality; | |
43 | |
5919 | 44 extern void exit_player(char* how); |
45 | |
6335
e9bd97d5c5cc
warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
arpi
parents:
6280
diff
changeset
|
46 #endif |