matroskademux: Refactor track parsing out from adding tracks
authorAlicia Boya García <aboya@igalia.com>
Fri, 21 Sep 2018 14:23:57 +0000 (16:23 +0200)
committerThibault Saunier <tsaunier@igalia.com>
Fri, 21 Sep 2018 20:27:57 +0000 (17:27 -0300)
commitf279bc5336dda19741a5996a108da42dd3201366
tree84ab1ed2646d456d2450a7a2a886d2ef6920bb91
parent9dc7859184d4b7ad1dd7e2b54704e994dbace329
matroskademux: Refactor track parsing out from adding tracks

This splits gst_matroska_demux_add_stream() into:

* gst_matroska_demux_parse_stream(): will read the Matroska bytestream
  and fill a GstMatroskaTrackContext.

* gst_matroska_demux_parse_tracks(): will check there are no repeated
  tracks.

* gst_matroska_demux_add_stream(): creates and sets up the pad for the
  track.

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