• Jan Ekström's avatar
    avformat/mpegts: unset DTS/PTS for subtitle PES packets if PCR not available · a1b4f120
    Jan Ekström authored
    Fixes issues when a subtitle packet is received before PCR for the
    program has been received, leading to wildly jumping timestamps
    on the lavf client side as well as in the re-ordering logic.
    
    This usually happens in case of multiplexes where the PCR of a
    program is not taken into account with subtitle tracks' DTS/PTS.
    a1b4f120
mpegts.c 107 KB