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 /tests/ref/acodec | |
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 'tests/ref/acodec')
-rw-r--r-- | tests/ref/acodec/s302m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/acodec/s302m b/tests/ref/acodec/s302m index 63e39edef9..2919ed6e55 100644 --- a/tests/ref/acodec/s302m +++ b/tests/ref/acodec/s302m @@ -1,4 +1,4 @@ -165d022ab86306d069797acff0c1e295 *tests/data/fate/acodec-s302m.mpegts -1589164 tests/data/fate/acodec-s302m.mpegts +0bf5457fd41a22fc5cdd99ae5ad4e273 *tests/data/fate/acodec-s302m.mpegts +1527688 tests/data/fate/acodec-s302m.mpegts 31f25a0020fd9017de9c3c608316854b *tests/data/fate/acodec-s302m.out.wav stddev: 986.94 PSNR: 36.44 MAXDIFF:18571 bytes: 1058400/ 1056708 |