Skip to content
  • Stefan Kost's avatar
    adder: rework timestamping · ab223520
    Stefan Kost authored
    Adder was using always incrementing timestamps. Seeking was done by setting the
    position in the newsegment event. This was failing when doing segmented seeks
    with rate<0.0, as offset (and thus timestamp) would go below 0.
    
    Now we take both cur and end from the seek event. We construct newsegment events
    depending including cur and end from the seek event. We set position to the
    start of the segment. Timestamp is set to start or end of segment depending on
    rate. Offset is recalculated.
    ab223520