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
|
|
|
|
2009-10-06 01:28:59 +00:00
|
|
|
struct MPContext;
|
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);
|
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 */
|