• Marton Balint's avatar
    avformat/mpegtsenc: get rid of packet counting for sdt/pat/pmt · 2fb55089
    Marton Balint authored
    The packet counting based approach caused excessive sdt/pat/pmt for VBR, so
    let's use a timestamp based approach instead similar to how we emit PCRs.
    SDT/PAT/PMT period should be consistent for both VBR and CBR from now on.
    
    Also change the type of sdt_period and pat_period to AV_OPT_TYPE_DURATION so no
    floating point math is necessary.
    
    Fixes ticket #3714.
    Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
    2fb55089
muxers.texi 89.5 KB