flvdemux: Speedup GstIndex usage
authorEdward Hervey <bilboed@bilboed.com>
Sat, 13 Feb 2010 10:01:53 +0000 (11:01 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 13 Feb 2010 13:57:59 +0000 (14:57 +0100)
commit0dd06da5e87a09633b3afbfe726ca49d311828d8
tree22342f0e48471badcbaa3f6967fa23939749be2c
parent7f08081016379dd163c2a1a0eb7251c5540b96f7
flvdemux: Speedup GstIndex usage

Used the _add_associationv variant of GstIndex since we know how many
associations we're adding. Trims up to 50% from index generation time.

Note : It would be great if the index could be generated on the fly or
on request as opposed to being fully created at startup.
gst/flv/gstflvparse.c