summaryrefslogtreecommitdiffstats
path: root/gst/matroska/matroska-demux.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-06-15 19:09:54 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-06-15 19:09:54 +0000
commit94f778f952529d74f2f7e5f425fa610dd7432792 (patch)
treef0b9f2c777667a7200716ed17a03c480010afe0b /gst/matroska/matroska-demux.h
parent25e2770edf3bbfeb325715f03991db11ae5dbdcc (diff)
gst/matroska/: Use a GArray for storing the Cue (i.e. seek) information, store the CueTrackPositions for every track,...
Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_reset), (gst_matroskademux_do_index_seek), (gst_matroska_demux_parse_index_cuetrack), (gst_matroska_demux_parse_index_pointentry), (gst_matroska_index_compare), (gst_matroska_demux_parse_index), (gst_matroska_demux_parse_metadata): * gst/matroska/matroska-demux.h: * gst/matroska/matroska-ids.h: Use a GArray for storing the Cue (i.e. seek) information, store the CueTrackPositions for every track, store the block number and optimize searching in the array by sorting it after the last element was added. Fix a small memory leak when trying to parse a tags element that was already parsed.
Diffstat (limited to 'gst/matroska/matroska-demux.h')
-rw-r--r--gst/matroska/matroska-demux.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/matroska/matroska-demux.h b/gst/matroska/matroska-demux.h
index 8ea9c3ac..1a65286c 100644
--- a/gst/matroska/matroska-demux.h
+++ b/gst/matroska/matroska-demux.h
@@ -87,8 +87,7 @@ typedef struct _GstMatroskaDemux {
guint64 ebml_segment_start;
/* a cue (index) table */
- GstMatroskaIndex *index;
- guint num_indexes;
+ GArray *index;
/* timescale in the file */
guint64 time_scale;