Merge svn changes up to r30448
[mplayer/kovensky.git] / mpcommon.h
blobbbec3113a6dc14fcc13eb208aa96f2f66e61d5c6
1 #ifndef MPLAYER_MPCOMMON_H
2 #define MPLAYER_MPCOMMON_H
4 #include "subreader.h"
5 #include "libmpdemux/demuxer.h"
6 #include "libmpdemux/stheader.h"
8 extern double sub_last_pts;
9 extern struct ass_track *ass_track;
10 extern subtitle *vo_sub_last;
12 struct MPContext;
13 void print_version(const char* name);
14 void update_subtitles(struct MPContext *mpctx, struct MPOpts *opts,
15 sh_video_t *sh_video, double refpts, double sub_offset,
16 demux_stream_t *d_dvdsub, int reset);
17 void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset);
18 int select_audio(demuxer_t* demuxer, int audio_id, char* audio_lang);
19 void set_osd_subtitle(struct MPContext *mpctx, subtitle *subs);
21 extern int disable_system_conf;
22 extern int disable_user_conf;
24 #endif /* MPLAYER_MPCOMMON_H */