• Rafaël Carré's avatar
    TS demux: set PCR for all programs · 253b10a0
    Rafaël Carré authored
    Using the currently selected programs is wrong when we're using another
    filter than --program.
    
    Unconditionally use the PTS/DTS as PCR, which fixes automatically
    lack of PCR.
    
    Let's keep --no-ts-trust-pcr for when PCR is completely broken
    
    --
    Using both PCR and ES PTS seems to cause problems in some cases
    
    (cherry picked from commit 8eb0b3d3b53c29b3495dcac275b5fe51f7633a6b)
    (cherry picked from commit 5478a4d90b357c81b8e01f337aca0b9bb682605d)
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    253b10a0
ts.c 141 KB