diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-03-29 22:45:06 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-04-02 06:51:25 +0300 |
commit | 58497380e5222749892414089d26916095c0485c (patch) | |
tree | 2c028e049003f394a2f5166c05a967134704e1ad /mpcommon.h | |
parent | 0f590fce191097887a81d0a6676cb0a943ce54e4 (diff) | |
download | mpv-58497380e5222749892414089d26916095c0485c.tar.bz2 mpv-58497380e5222749892414089d26916095c0485c.tar.xz |
Initial ordered chapters support
Add basic support for Matroska ordered chapters. The switching between
segments is implemented as a general edit timeline that could also be
used for other purposes.
Some things still need improvement. In particular the current code
does not try to do any proper mapping between audio/video/subtitle
streams of different files and there should be options for better
control of how MPlayer searches other files for the required content.
Diffstat (limited to 'mpcommon.h')
-rw-r--r-- | mpcommon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mpcommon.h b/mpcommon.h index a0c6fb8ff8..c9bfd92122 100644 --- a/mpcommon.h +++ b/mpcommon.h @@ -10,7 +10,8 @@ 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, demux_stream_t *d_dvdsub, int reset); +void update_subtitles(sh_video_t *sh_video, demux_stream_t *d_dvdsub, + double video_offset, 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); |