Mercurial > mplayer.hg
view mpcommon.h @ 29768:fa5a020677d6
Unbreak the demuxer-specific code in video.c with e.g.
-audiofile by moving the code to manually interleave
subtitles to mp_common.c.
video.c should still be changed to not be demuxer-specific
anymore, it is bad practice but fully fixing it is non-trivial.
author | reimar |
---|---|
date | Sun, 01 Nov 2009 09:48:34 +0000 |
parents | 2e3751815a21 |
children | d5d20b8256b7 |
line wrap: on
line source
#ifndef MPLAYER_MPCOMMON_H #define MPLAYER_MPCOMMON_H #include "subreader.h" #include "libmpdemux/demuxer.h" #include "libmpdemux/stheader.h" extern double sub_last_pts; extern struct ass_track_s *ass_track; extern subtitle *vo_sub_last; void print_version(const char* name); void update_subtitles(sh_video_t *sh_video, double refpts, demux_stream_t *d_dvdsub, int reset); void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset); int select_audio(demuxer_t* demuxer, int audio_id, char* audio_lang); void set_osd_subtitle(subtitle *subs); extern int disable_system_conf; extern int disable_user_conf; #endif /* MPLAYER_MPCOMMON_H */