diff options
author | Timothy B. Terriberry <tterribe@xiph.org> | 2014-10-13 17:46:00 -0700 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-10-18 05:15:48 +0200 |
commit | 72ed4166a64714952777fb028b546a52e5b4e2c2 (patch) | |
tree | 9ab45a73c62e8581f2d171959332a8d226439402 /doc/examples/demuxing_decoding.c | |
parent | 787a6156a2d887bb1d65c1233a94a61741e7af7c (diff) | |
download | ffmpeg-72ed4166a64714952777fb028b546a52e5b4e2c2.tar.gz |
resample: Avoid off-by-1 errors in PTS calcs.
The rounding used in the PTS calculations in filter_frame() does
not actually match the number of samples output by the resampler.
This leads to off-by-1 errors in the timestamps indicating gaps and
underruns, even when the input timestamps are all contiguous.
Bug-Id: 753
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit 6cbbf0592f4f3940aac7f687850d1b726a2ea836)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit ca8c62d187fdca13979379fb2ab172ed662aa2f8)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'doc/examples/demuxing_decoding.c')
0 files changed, 0 insertions, 0 deletions