Skip to content
  • Jan Schmidt's avatar
    qtdemux: Omit cslg_shift when snapping seeks · f415730f
    Jan Schmidt authored
    Segments times and seek requests are stored and handled
    in raw 'PTS' time, without the cslg_shift - which only applies
    to outgoing samples. Omit the cslg_shift portion when
    extracting PTS to compare for internal seek snaps.
    
    If the cslg_shift is included, then keyframe+snap-before seeks
    generate a segment start/stop time that already includes the
    cslg_shift, and it's then added a 2nd time, causing the
    first buffer(s) to have timestamps that are out of segment.
    f415730f