Update matroska_chapters[] syntax to parse EditionEntry elements into
matroska->editions instead of the flat matroska->chapters list.
update chapter finding code to look through all editions.
Signed-off-by: Alexander Westberg-Bladh
---
libavformat/matroskadec.c | 85 ++---
Add MatroskaEdition structure and extend MatroskaChapter and
MatroskaDemuxContext
with fields needed for ordered chapters support.
Signed-off-by: Alexander Westberg-Bladh
---
libavformat/matroskadec.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/libavformat/matroskadec.c
Add MATROSKA_ID_CHAPTERSEGMENTUID and MATROSKA_ID_CHAPTERSEGMENTEDITIONUID
element IDs to support parsing of ordered chapters segment linking.
Signed-off-by: Alexander Westberg-Bladh
---
libavformat/matroska.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/matroska.h b/libavfo
Hi,
This short series lays the groundwork for ordered-chapter playback
in Matroska, fixing trac ticket #3123.
To start with I added type defs and parsing for editions.
I stay compatible with the existing logic by fetching the chapters from
all editions thereby flattening the structure.
I think