2010-01-30 23:24:23 +00:00
|
|
|
/*
|
|
|
|
* This file is part of MPlayer.
|
|
|
|
*
|
|
|
|
* MPlayer is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* MPlayer is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with MPlayer; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
2001-05-08 12:59:03 +00:00
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#ifndef MPLAYER_MPLAYER_H
|
|
|
|
#define MPLAYER_MPLAYER_H
|
2001-05-08 12:59:03 +00:00
|
|
|
|
2008-04-21 03:07:22 +00:00
|
|
|
#include "mp_msg.h"
|
|
|
|
|
2002-02-23 15:12:55 +00:00
|
|
|
extern char* current_module;
|
2001-05-08 12:59:03 +00:00
|
|
|
|
2002-09-28 18:03:34 +00:00
|
|
|
extern char ** audio_fm_list;
|
|
|
|
extern char ** video_fm_list;
|
2002-10-02 13:16:15 +00:00
|
|
|
extern char ** video_driver_list;
|
|
|
|
extern char ** audio_driver_list;
|
2002-07-25 20:34:33 +00:00
|
|
|
extern char * video_driver;
|
|
|
|
extern char * audio_driver;
|
|
|
|
extern float audio_delay;
|
|
|
|
|
2006-04-25 21:36:02 +00:00
|
|
|
extern unsigned int osd_visible;
|
2002-07-02 13:35:04 +00:00
|
|
|
|
2002-07-25 20:34:33 +00:00
|
|
|
extern char * font_name;
|
2007-05-20 16:10:45 +00:00
|
|
|
extern char * sub_font_name;
|
2002-07-25 20:34:33 +00:00
|
|
|
extern float font_factor;
|
2008-02-14 14:50:34 +00:00
|
|
|
extern double force_fps;
|
2002-07-25 20:34:33 +00:00
|
|
|
|
2003-04-07 16:04:02 +00:00
|
|
|
//extern char **sub_name;
|
2002-07-25 20:34:33 +00:00
|
|
|
extern float sub_delay;
|
|
|
|
extern float sub_fps;
|
|
|
|
extern int sub_auto;
|
|
|
|
|
2002-09-28 18:03:34 +00:00
|
|
|
extern int stream_cache_size;
|
2002-11-28 23:17:14 +00:00
|
|
|
extern int autosync;
|
2002-09-29 19:26:40 +00:00
|
|
|
|
2002-08-15 22:52:52 +00:00
|
|
|
extern int frame_dropping;
|
|
|
|
|
|
|
|
extern int auto_quality;
|
|
|
|
|
2002-12-11 01:21:12 +00:00
|
|
|
extern int vobsub_id;
|
2002-10-21 11:11:39 +00:00
|
|
|
|
2008-08-12 11:50:54 +00:00
|
|
|
static inline void exit_player_bad(const char *how)
|
2008-04-21 03:07:22 +00:00
|
|
|
{
|
|
|
|
if (how)
|
|
|
|
mp_msg(MSGT_CPLAYER, MSGL_INFO, "Deprecated exit call: %s", how);
|
|
|
|
exit(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
struct MPContext;
|
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#endif /* MPLAYER_MPLAYER_H */
|