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
|
|
|
|
2008-03-04 23:35:24 +00:00
|
|
|
#include "subreader.h"
|
|
|
|
#include "libmpdemux/demuxer.h"
|
|
|
|
#include "libmpdemux/stheader.h"
|
|
|
|
|
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;
|
2007-02-17 21:04:46 +00:00
|
|
|
extern subtitle *vo_sub_last;
|
2009-01-25 20:35:58 +00:00
|
|
|
|
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-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,
|
|
|
|
sh_video_t *sh_video, double refpts, double sub_offset,
|
|
|
|
demux_stream_t *d_dvdsub, int reset);
|
2007-08-25 16:24:17 +00:00
|
|
|
void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset);
|
2008-02-29 17:25:50 +00:00
|
|
|
int select_audio(demuxer_t* demuxer, int audio_id, char* audio_lang);
|
2009-10-06 01:28:59 +00:00
|
|
|
void set_osd_subtitle(struct MPContext *mpctx, 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-04-14 11:21:29 +00:00
|
|
|
extern int disable_system_conf;
|
|
|
|
extern int disable_user_conf;
|
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#endif /* MPLAYER_MPCOMMON_H */
|