Changeset 3188

Show
Ignore:
Timestamp:
2007-08-13 22:41:01 (1 year ago)
Author:
shans
Message:

Actually get rid of un-timestamped packets from the cache after presenting them

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • oogg/trunk/packet.ml

    r3187 r3188  
    3939           '{ h with p_granulepos = last_gp; p_time = crec.rc_tf last_gp } >]) 
    4040  | [] -> [< >] in 
    41   [< _ngaf crec.rc_cache pack.p_granulepos; 'pack >] 
     41  let l = crec.rc_cache in 
     42  crec.rc_cache <- []; 
     43  [< _ngaf l pack.p_granulepos; 'pack >] 
    4244 
    4345let reconstruct_packet context pack =