gst/matroska/matroska-demux.*: Only parse Tracks, SeekHead and SegmentInfo elements...
authorSebastian Dröge <slomo@circular-chaos.org>
Fri, 13 Jun 2008 19:07:03 +0000 (19:07 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 13 Jun 2008 19:07:03 +0000 (19:07 +0000)
commit04d1c49ef7c6fe497c4b1d9d67590952e0d1266a
tree0b4db2215cd8d55d263eaa21e886e1fe840760e5
parent764f5106a5c6fddbaeca142bc68441ca234295fb
gst/matroska/matroska-demux.*: Only parse Tracks, SeekHead and SegmentInfo elements once but allow

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_parse_tracks),
(gst_matroska_demux_parse_index), (gst_matroska_demux_parse_info),
(gst_matroska_demux_parse_attachments),
(gst_matroska_demux_parse_chapters),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_loop_stream_parse_id):
* gst/matroska/matroska-demux.h:
Only parse Tracks, SeekHead and SegmentInfo elements once but allow
Tags multiple times. The first ones can appear more than once but must
contain the same content as the first for backup purposes so we ignore
all but the first one. Tags can appear multiple times with different
content.
Jump to all elements except Clusters that are available from a
SeekHead to make it more likely to have all required informations
before getting to the first Clusters.
Add dummy functions for parsing Attachments and Chapters.
ChangeLog
gst/matroska/matroska-demux.c
gst/matroska/matroska-demux.h