gstreamer/tests/check
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
..
elements matroska: re-activate and update TOC support 2017-12-15 16:14:43 +02:00
generic check: Rename states unit test 2015-08-14 11:13:01 +02:00
pipelines tests: add basic unit test for twolame as well 2017-08-26 10:10:19 +01:00
.gitignore tests: ignore sub-directory with orc tests 2010-06-17 16:41:56 +01:00
gst-plugins-good.supp tests: add basic unit test for twolame as well 2017-08-26 10:10:19 +01:00
Makefile.am tests: rtph264depay: add test for using downstream memory allocator 2017-11-23 09:36:00 +01:00
meson.build lame: hook up to build system 2017-08-26 09:14:55 +01:00