summaryrefslogtreecommitdiffstats
path: root/command.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 /command.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 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index 8fc8c85e7d..7c0352398f 100644
--- a/command.c
+++ b/command.c
@@ -1544,7 +1544,7 @@ static int mp_property_sub(m_option_t *prop, int action, void *arg,
d_sub->id = opts->sub_id;
}
#endif
- update_subtitles(mpctx->sh_video, d_sub, 1);
+ update_subtitles(mpctx->sh_video, d_sub, 0, 1);
return M_PROPERTY_OK;
}