• 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
Name
Last commit
Last update
..
acodec Loading commit data...
fate Loading commit data...
lavf Loading commit data...
lavf-fate Loading commit data...
pixfmt Loading commit data...
seek Loading commit data...
vsynth Loading commit data...
vsynth1 Loading commit data...
vsynth_lena Loading commit data...