view 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
line wrap: on
line source


#ifndef __MPLAYER_MAIN
#define __MPLAYER_MAIN

#include "libvo/sub.h"
#include "subreader.h"

extern int use_gui;
extern char* current_module;
extern int fullscreen;
extern int vcd_track;

extern char * audio_fm;
extern char * video_fm;
extern char * video_driver;
extern char * audio_driver;
extern int    has_audio;
extern float  audio_delay;

extern int osd_level;
extern int osd_visible;

extern char * font_name;
extern float  font_factor;

extern char * sub_name;
extern float  sub_delay;
extern float  sub_fps;
extern int    sub_auto;
extern int    sub_pos;
extern int    sub_unicode;
extern subtitle* subtitles;
extern subtitle* vo_sub;

extern char * filename;

extern int flip;
extern int force_ni;
extern int index_mode;
extern int frame_dropping;

extern int auto_quality;

extern void exit_player(char* how);

#endif