matroskademux: Parse successive Tracks elements
authorAlicia Boya García <aboya@igalia.com>
Fri, 21 Sep 2018 18:38:02 +0000 (20:38 +0200)
committerThibault Saunier <tsaunier@igalia.com>
Fri, 21 Sep 2018 20:27:57 +0000 (17:27 -0300)
commit0e60076a390fd3ef53d350940b2c695ff7bbe008
tree3b8f9e6ee2c52074199d0b8d29ba3d9d07597939
parentf279bc5336dda19741a5996a108da42dd3201366
matroskademux: Parse successive Tracks elements

This patch allows matroskademux to parse a second Tracks element,
erroring out if the tracks are not compatible (different number, type or
codec) and emitting new caps and tag events should they have changed.

https://bugzilla.gnome.org/show_bug.cgi?id=793333
gst/matroska/matroska-demux.c