• Francois Cartegnie's avatar
    demux: asf: use send time as base time for pcr (fix #6662, #8795) · 8e7a55dd
    Francois Cartegnie authored
    Using lowest PTS or DTS is a bad idea, as lower video packets are sent
    ahead of pts, and most audio tracks are sending packets near to pts.
    So we had audio packets coming late, with a lower pts, and corrupted
    our PCR as we take the lowest pts among tracks.
    We can't also guess the full tracks rolls, so updating after a full
    roll instead of each packet is useless.
    Send time is a reliable base time.
    8e7a55dd
asf.c 50 KB