• 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
..
api Loading commit data...
checkasm Loading commit data...
dnn Loading commit data...
fate Loading commit data...
filtergraphs Loading commit data...
ref Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
audiogen.c Loading commit data...
audiomatch.c Loading commit data...
base64.c Loading commit data...
copycooker.sh Loading commit data...
extended.ffconcat Loading commit data...
fate-run.sh Loading commit data...
fate-valgrind.supp Loading commit data...
fate.sh Loading commit data...
md5.sh Loading commit data...
refcmp-metadata.awk Loading commit data...
reference.pnm Loading commit data...
rotozoom.c Loading commit data...
simple1.ffconcat Loading commit data...
simple2.ffconcat Loading commit data...
test.ffmeta Loading commit data...
tiny_psnr.c Loading commit data...
tiny_ssim.c Loading commit data...
utils.c Loading commit data...
videogen.c Loading commit data...