Trouble with mkv chapter ordering
This is a long-standing bug that goes at least back to the 1.x series; (I am currently using 1.2.0-git 20100724-0002 Twoflower)
VLC has excellent support for mkv chapter-- it's the option for ordering chapters that is causing the problems.
I confirmed this via divide-and-conquer troubleshooting:
In the Demuxer options for Matroska, there are five options: Ordered chapters, Chapter codecs, Preload Directory, Seek based on percent not time, and Dummy Elements.
I knew I had something to do with chapter ordering, due to the fact that it only went back to the beginning when seeking to the last chapter, but just to make sure, I unchecked and checked each one until the problem went away.
Just to be clear, the problem only existed when I unchecked the "Chapter ordering" option-- unchecking the other options didn't make a lick of difference.
An important aspect of this issue, is the fact that unlike other mkv files that I have played, this file (and all files using the same encoding-- this is an anime series) splits the chapter into "Segment 0" for the Chapter Navigation. This was the first hint in my search for the source of the problem.
The other clue about what the problem was, is that the first and last chapters (named "Opening" and "Ending" will play the first chapter ("Ending" is obviously supposed to play the last chapter.
Finally I uncheck "Chapter ordering", it not only fixes the aforementioned issue, but also corrects a fault in the seeking allocations-- specifically, with "Chapter ordering" it will seek to the point clicked, and then jump halfway back to the beginning (almost exactly halfway back).
Although I have found the workaround (uncheck "Chapter ordering"), it would be nice if you corrected this problem for the 1.2 "Twoflower" release, as it is a long-standing bug that will cause problems for other users.
I have attached the debug log for the file. I can't attach the mkv file itself, as it is copyrighted material, but if I manage to find a mkv chaptered file with a similar problem, I'll post it for evaluation purposes.