2010-01-31 00:24:23 +01: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 14:59:03 +02:00
|
|
|
|
2008-02-22 10:09:46 +01:00
|
|
|
#ifndef MPLAYER_MPLAYER_H
|
|
|
|
#define MPLAYER_MPLAYER_H
|
2001-05-08 14:59:03 +02:00
|
|
|
|
2011-01-12 00:37:02 +01:00
|
|
|
#include <stdlib.h>
|
|
|
|
|
2008-04-21 05:07:22 +02:00
|
|
|
#include "mp_msg.h"
|
|
|
|
|
2002-02-23 16:12:55 +01:00
|
|
|
extern char* current_module;
|
2001-05-08 14:59:03 +02:00
|
|
|
|
2002-09-28 20:03:34 +02:00
|
|
|
extern char ** audio_fm_list;
|
|
|
|
extern char ** video_fm_list;
|
2002-10-02 15:16:15 +02:00
|
|
|
extern char ** video_driver_list;
|
|
|
|
extern char ** audio_driver_list;
|
2002-07-25 22:34:33 +02:00
|
|
|
extern float audio_delay;
|
|
|
|
|
2006-04-25 23:36:02 +02:00
|
|
|
extern unsigned int osd_visible;
|
2002-07-02 15:35:04 +02:00
|
|
|
|
2002-07-25 22:34:33 +02:00
|
|
|
extern char * font_name;
|
2007-05-20 18:10:45 +02:00
|
|
|
extern char * sub_font_name;
|
2002-07-25 22:34:33 +02:00
|
|
|
extern float font_factor;
|
2008-02-14 15:50:34 +01:00
|
|
|
extern double force_fps;
|
2002-07-25 22:34:33 +02:00
|
|
|
|
2003-04-07 18:04:02 +02:00
|
|
|
//extern char **sub_name;
|
2002-07-25 22:34:33 +02:00
|
|
|
extern float sub_delay;
|
|
|
|
extern float sub_fps;
|
|
|
|
extern int sub_auto;
|
|
|
|
|
2002-09-28 20:03:34 +02:00
|
|
|
extern int stream_cache_size;
|
2002-09-29 21:26:40 +02:00
|
|
|
|
2002-08-16 00:52:52 +02:00
|
|
|
extern int frame_dropping;
|
|
|
|
|
|
|
|
extern int auto_quality;
|
|
|
|
|
2002-12-11 02:21:12 +01:00
|
|
|
extern int vobsub_id;
|
2002-10-21 13:11:39 +02:00
|
|
|
|
2008-08-12 13:50:54 +02:00
|
|
|
static inline void exit_player_bad(const char *how)
|
2008-04-21 05:07:22 +02:00
|
|
|
{
|
|
|
|
if (how)
|
|
|
|
mp_msg(MSGT_CPLAYER, MSGL_INFO, "Deprecated exit call: %s", how);
|
|
|
|
exit(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
struct MPContext;
|
2011-01-12 00:37:02 +01:00
|
|
|
struct subtitle;
|
|
|
|
|
|
|
|
void set_osd_subtitle(struct MPContext *mpctx, struct subtitle *subs);
|
2008-04-21 05:07:22 +02:00
|
|
|
|
2008-02-22 10:09:46 +01:00
|
|
|
#endif /* MPLAYER_MPLAYER_H */
|