[MPlayer-dev-eng] [PATCH] mkv chapters and linked segments
Fredrik Nilsson
esserex at gmail.com
Wed May 28 11:27:29 CEST 2008
Hi.
This is a patch that loads mkv chapters from external files.
It does this by loading the extra files into separate tracks and switches to
them when the chapter changes. Changes in mplayer.c and demuxer.c makes
mplayer switch chapters automatically at end of chapter.
To switch tracks I use a function in mplayer.c to reset decoders,
an ugly hack but I see no simple solution to this.
I have looked into using libavformat but I see no way of implementing chapters
or decoder change without changing the libavformat interface.
Thoughts?
Fredrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkv_linked_chapters.diff
Type: text/x-patch
Size: 29759 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080528/d9d06bd0/attachment.bin>
More information about the MPlayer-dev-eng
mailing list