gstreamer/tests
fengalin a6702a76d5 matroska: re-activate and update TOC support
TOC support in mastroskamux has been deactivated for a couple of years. This commit updates it to recent GstToc evolutions and introduces toc unit tests for both matroska-mux and matroska-demux.

There are two UIDs for Chapters in Matroska's specifications:
- The ChapterUID is a mandatory unsigned integer which internally refers to a given chapter. Except for title & language which use dedicated fields, this UID can also be used to add tags to the Chapter. The tags come in a separate section of the container.
- The ChapterStringUID is an optional UTF-8 string which also uniquely refers to a chapter but from an external perspective. It can act as a "WebVTT cue identifier" which "can be used to reference a specific cue, for example from script or CSS".

During muxing, the ChapterUID is generated and checked for unicity, while the ChapterStringUID receives the user defined UID. In order to be able to refer to chapters from the tags section, we maintain an internal Toc tree with the generated ChapterUID.

When demuxing, the ChapterStringUIDs (if available) are assigned to the GstTocEntries UIDs and an internal toc mimicking the toc is used to keep track of the ChapterUIDs and match the tags with the appropriate GstTocEntries.

https://bugzilla.gnome.org/show_bug.cgi?id=790686
2017-12-15 16:14:43 +02:00
..
check matroska: re-activate and update TOC support 2017-12-15 16:14:43 +02:00
examples v4l2src: Fix compiler error in example caused by re-declaring index 2017-12-14 18:28:00 +02:00
files tests: rtph264depay: add test for using downstream memory allocator 2017-11-23 09:36:00 +01:00
icles tests: icles: fix build 2017-07-21 19:02:26 +01:00
Makefile.am tests: don't build examples if --disable-examples was passed to configure 2009-05-05 13:23:45 +01:00
meson.build meson: build examples 2017-06-26 11:10:29 +01:00