summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-03-29 22:45:06 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-04-02 06:51:25 +0300
commit58497380e5222749892414089d26916095c0485c (patch)
tree2c028e049003f394a2f5166c05a967134704e1ad /mencoder.c
parent0f590fce191097887a81d0a6676cb0a943ce54e4 (diff)
downloadmpv-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 'mencoder.c')
-rw-r--r--mencoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mencoder.c b/mencoder.c
index 1661722679..6fb7f03600 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -1469,7 +1469,7 @@ if(sh_audio && !demuxer2){
}
else
#endif
- update_subtitles(sh_video, d_dvdsub, 0);
+ update_subtitles(sh_video, d_dvdsub, 0, 0);
frame_data = (s_frame_data){ .start = NULL, .in_size = 0, .frame_time = 0., .already_read = 0 };