shshankjain / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

libwebm should not enqueue empty clusters #230

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In one of my test clips, I have a long sequence of empty clusters, and when 
finding the next entry from the current position, there appears to be a 
noticeable gap while the parser throws away empty clusters in order to search 
for the next entry.  

It would be better if these empty clusters were not enqueued at all.  Perhaps 
the solution is that when we move the cluster off of the preloaded area and 
onto the loaded area (changing its index from negative to non-negative), then 
we can load the entries immediately, and then check whether there are no 
entries.  If so, it's safe to simply throw this cluster object away.  (Note 
that I don't think we can do this when the cluster is only preloaded, since if 
we were to throw it away then it would simply be re-preloaded again.)

Original issue reported on code.google.com by matthewj...@google.com on 12 Nov 2010 at 7:12

GoogleCodeExporter commented 9 years ago

Original comment by matthewj...@google.com on 16 Feb 2012 at 9:56

GoogleCodeExporter commented 9 years ago

Original comment by albe...@google.com on 8 Mar 2012 at 12:08