avidemux: add new index parsing code
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 21 Sep 2009 13:35:55 +0000 (15:35 +0200)
committerWim Taymans <wim@metal.(none)>
Mon, 28 Sep 2009 20:16:38 +0000 (22:16 +0200)
commit89bcbbbe7cdda9187043eb555ee4522fcf46c3bb
tree595b27ed028a589bf2e8903bbd7ab2d699d9b2b7
parent69c24fb991d5556e83e68d7a236e6526ea3dade5
avidemux: add new index parsing code

Add a new function and datastructure to parse and hold the index entries on a
per stream base. Also avoid doing too much work trying to figure out the
timestamps and durations as we can trivially do that later.

Less information in the entries makes them 2 times smaller and not doing too
much work makes this code about 12 times faster than the regular case.

Hook in the new function alongside the existing function for comparison until
the rest of the code is updated to handle the new index datastructure.
gst/avi/gstavidemux.c
gst/avi/gstavidemux.h