From 88728c6fad99fe6c9cc0b77f95c46d6919f0693a Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 26 Aug 2012 01:19:42 +0200 Subject: core: runtime Matroska edition switching Add a new slave property which switches the current Matroska edition. Since each edition can define an entirely new timeline, switching the edition will simply restart playback at the beginning of the file with the new edition selected. Add 'E' as new keybinding to step the edition property. DVD titles are still separate. Apparently they work similarly, but I don't have any multi-title DVDs for testing. Also, cdda (for audio CDs) uses the same mechanism as DVDs to report a number of titles, so there seems to be confusion what exactly this mechanism is supposed to do. That's why the edition code is completely separate for now. Remove demuxer.num_titles. It was just a rather useless cache for the return value of the DVD titles related STREAM_CTRL. One rather obscure corner case isn't taken care of: if the ordered chapters file has file local options set, they are reset on playback restart. This is unexpected, because edition switching is meant to behave like seeking back to the beginning of the file. --- etc/input.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/input.conf b/etc/input.conf index a7732acf01..3744df8431 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -125,6 +125,7 @@ MUTE mute CLOSE_WIN quit ! seek_chapter -1 # skip to previous chapter @ seek_chapter 1 # next +E step_property_osd edition # next edition A switch_angle 1 U stop -- cgit v1.2.3