diff options
author | Marton Balint <cus@passwd.hu> | 2019-08-08 09:53:10 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2019-08-23 22:49:01 +0200 |
commit | 2fb550893f7564118ca59765ee5fd1acab819581 (patch) | |
tree | df1f308a1a746106a1951bf4edfecf41fd752222 /libavutil/libm.h | |
parent | 5c119bf189c3a8806991e6909f9dfc2686189e5e (diff) | |
download | ffmpeg-2fb550893f7564118ca59765ee5fd1acab819581.tar.gz |
avformat/mpegtsenc: get rid of packet counting for sdt/pat/pmt
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: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavutil/libm.h')
0 files changed, 0 insertions, 0 deletions