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.
|
|
|
|
*/
|
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#ifndef MPLAYER_MPCOMMON_H
|
|
|
|
#define MPLAYER_MPCOMMON_H
|
2008-01-01 21:35:58 +00:00
|
|
|
|
2010-10-30 18:32:17 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
struct subtitle;
|
2008-03-04 23:35:24 +00:00
|
|
|
|
2007-02-17 21:04:46 +00:00
|
|
|
extern double sub_last_pts;
|
2009-07-28 22:11:33 +00:00
|
|
|
extern struct ass_track *ass_track;
|
2010-10-30 18:32:17 +00:00
|
|
|
extern struct subtitle *vo_sub_last;
|
2009-01-25 20:35:58 +00:00
|
|
|
|
2010-09-09 15:39:10 +00:00
|
|
|
extern int disable_system_conf;
|
|
|
|
extern int disable_user_conf;
|
|
|
|
|
2010-06-28 08:26:14 +00:00
|
|
|
extern const char *mencoder_version;
|
|
|
|
extern const char *mplayer_version;
|
|
|
|
|
2009-10-06 01:28:59 +00:00
|
|
|
struct MPContext;
|
2010-10-30 18:32:17 +00:00
|
|
|
struct demuxer;
|
|
|
|
struct demux_stream;
|
|
|
|
struct demux_attachment;
|
|
|
|
struct sh_video;
|
|
|
|
struct MPOpts;
|
2010-06-28 08:26:14 +00:00
|
|
|
|
2009-01-25 20:35:58 +00:00
|
|
|
void print_version(const char* name);
|
2009-10-06 01:28:59 +00:00
|
|
|
void update_subtitles(struct MPContext *mpctx, struct MPOpts *opts,
|
2010-10-30 18:32:17 +00:00
|
|
|
struct sh_video *sh_video, double refpts,
|
|
|
|
double sub_offset, struct demux_stream *d_dvdsub,
|
|
|
|
int reset);
|
|
|
|
void update_teletext(struct sh_video *sh_video, struct demuxer *demuxer,
|
|
|
|
int reset);
|
|
|
|
int select_audio(struct demuxer *demuxer, int audio_id, char *audio_lang);
|
|
|
|
void set_osd_subtitle(struct MPContext *mpctx, struct subtitle *subs);
|
2010-06-01 20:49:22 +00:00
|
|
|
bool attachment_is_font(struct demux_attachment *att);
|
2008-01-01 21:35:58 +00:00
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#endif /* MPLAYER_MPCOMMON_H */
|