diff options
author | Tomas Härdin <tomas.hardin@codemill.se> | 2010-12-03 13:26:42 +0000 |
---|---|---|
committer | Tomas Härdin <tomas.hardin@codemill.se> | 2010-12-03 13:26:42 +0000 |
commit | 66be80d6105fa7e54ad8d23b33ad4ec8f3339b0b (patch) | |
tree | 0da96280b1d4ecea4a7680de0ed95e515c4ded3b /libswscale | |
parent | 77b7c334be9712af37ad7062179e8043b83ffc76 (diff) | |
download | ffmpeg-66be80d6105fa7e54ad8d23b33ad4ec8f3339b0b.tar.gz |
mpegtsenc: Improve PCR generation and output
This fixes PCR drift due to accumulating TS_PACKET_SIZE*8*90000LL/ts->mux_rate each packet, due to rounding errors when mux_rate does not evenly divide 135360000.
This patch also increases the PCR precision to 27 MHz from 90 kHz and takes the location of the PCR data into account (+11 bytes according to the spec).
Originally committed as revision 25864 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libswscale')
0 files changed, 0 insertions, 0 deletions