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"
|
2009-12-24 10:51:24 +00:00
|
|
|
#include "libass/ass_mp.h"
|
2008-03-04 23:35:24 +00:00
|
|
|
|
2007-02-17 21:04:46 +00:00
|
|
|
extern double sub_last_pts;
|
2009-12-24 10:51:24 +00:00
|
|
|
extern ass_track_t *ass_track;
|
2007-02-17 21:04:46 +00:00
|
|
|
extern subtitle *vo_sub_last;
|
2009-01-25 20:35:58 +00:00
|
|
|
|
|
|
|
void print_version(const char* name);
|
2009-09-23 21:27:36 +00:00
|
|
|
void update_subtitles(sh_video_t *sh_video, double refpts, 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-09-23 21:48:48 +00:00
|
|
|
void set_osd_subtitle(subtitle *subs);
|
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 */
|