Changeset 2fb55089 in ffmpeg

Timestamp:
Aug 23, 2019, 8:49:01 PM (5 years ago)
Author:
Marton Balint <cus@passwd.hu>
Branches:
master
Children:
c62a1db
Parents:
5c119bf1
git-author:
Marton Balint <cus@passwd.hu> (08/08/19 07:53:10)
git-committer:
Marton Balint <cus@passwd.hu> (08/23/19 20:49:01)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.