diff options
Diffstat (limited to 'mpcommon.h')
-rw-r--r-- | mpcommon.h | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/mpcommon.h b/mpcommon.h index d34be23e32..82b860bd87 100644 --- a/mpcommon.h +++ b/mpcommon.h @@ -19,35 +19,9 @@ #ifndef MPLAYER_MPCOMMON_H #define MPLAYER_MPCOMMON_H -#include <stdbool.h> - -struct subtitle; - -extern double sub_last_pts; -extern struct ass_track *ass_track; -extern struct subtitle *vo_sub_last; - -extern int disable_system_conf; -extern int disable_user_conf; +// both int64_t and double should be able to represent this exactly +#define MP_NOPTS_VALUE (-1LL<<63) extern const char *mplayer_version; -struct MPContext; -struct demuxer; -struct demux_stream; -struct demux_attachment; -struct sh_video; -struct MPOpts; - -void print_version(const char* name); -void update_subtitles(struct MPContext *mpctx, struct MPOpts *opts, - 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); -bool attachment_is_font(struct demux_attachment *att); - #endif /* MPLAYER_MPCOMMON_H */ |