avi: fix timestamping in some audio streams
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 23 Sep 2009 11:57:02 +0000 (13:57 +0200)
committerWim Taymans <wim@metal.(none)>
Mon, 28 Sep 2009 20:17:02 +0000 (22:17 +0200)
commit217315c20b136e90829b3f464f49d497546b09df
tree47ac8ae211c0b03bee779513ce6338f7f35fa7ab
parent7b9b8343ba03ef4ad19268b443c80d7538f6083c
avi: fix timestamping in some audio streams

For vbr audio streams we need to use the number of blocks to calculate the
timestamps.
When the allocation of additional index memory fails, don't throw away what
we had before.
Various cleanups.
gst/avi/gstavidemux.c