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
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
7150
b212f74e14ec - add play time subtitle change support
pontscho
parents: 7019
diff changeset
5 #include "libvo/sub.h"
b212f74e14ec - add play time subtitle change support
pontscho
parents: 7019
diff changeset
6 #include "subreader.h"
b212f74e14ec - add play time subtitle change support
pontscho
parents: 7019
diff changeset
7
4798
c39affa2b376 new interface ? :)
pontscho
parents: 1006
diff changeset
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
bfc652fc7f43 rewrite fullscreen support in some libvo driver
pontscho
parents: 4818
diff changeset
10 extern int fullscreen;
6280
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 5919
diff changeset
11 extern int vcd_track;
724
pontscho
parents:
diff changeset
12
7186
02b1976e12e2 fix vfm and add afm support
pontscho
parents: 7180
diff changeset
13 extern char * audio_fm;
02b1976e12e2 fix vfm and add afm support
pontscho
parents: 7180
diff changeset
14 extern char * video_fm;
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
15 extern char * video_driver;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
16 extern char * audio_driver;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
17 extern int has_audio;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
18 extern float audio_delay;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
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
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
23 extern char * font_name;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
24 extern float font_factor;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
25
6627
fd3ac41ee1a1 add equalizer support and fix some small bug...
pontscho
parents: 6619
diff changeset
26 extern char * sub_name;
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
27 extern float sub_delay;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
28 extern float sub_fps;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
29 extern int sub_auto;
7019
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
30 extern int sub_pos;
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
31 extern int sub_unicode;
7150
b212f74e14ec - add play time subtitle change support
pontscho
parents: 7019
diff changeset
32 extern subtitle* subtitles;
b212f74e14ec - add play time subtitle change support
pontscho
parents: 7019
diff changeset
33 extern subtitle* vo_sub;
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
34
6627
fd3ac41ee1a1 add equalizer support and fix some small bug...
pontscho
parents: 6619
diff changeset
35 extern char * filename;
fd3ac41ee1a1 add equalizer support and fix some small bug...
pontscho
parents: 6619
diff changeset
36
7019
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
37 extern int flip;
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
38 extern int force_ni;
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
39 extern int index_mode;
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
40 extern int frame_dropping;
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
41
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
42 extern int auto_quality;
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
43
5919
60cf2bca993f some bug fix
pontscho
parents: 4981
diff changeset
44 extern void exit_player(char* how);
60cf2bca993f some bug fix
pontscho
parents: 4981
diff changeset
45
6335
e9bd97d5c5cc warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
arpi
parents: 6280
diff changeset
46 #endif