view mplayer.h @ 7335:8db0cba91b6c

When we're compiling/running on a kernel without sse/sse2 support, we have to be careful when using gcc-3.x. gcc-3.x is able to emit sse/sse2 instructions for normal C code when we compile for maximum performance with something like the -march=athlon-xp switch. So, if the kernel does not support the sse/sse2 instruction set extension, we have to tell gcc-3.x to not emit see/sse2 instructions for regular C code, otherwise mplayer might crash with a SIGILL signal.
author jkeil
date Mon, 09 Sep 2002 19:01:34 +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