Changeset 6cbbf059 in ffmpeg

Timestamp:
Oct 18, 2014, 3:01:59 AM (10 years ago)
Author:
Anton Khirnov <anton@khirnov.net>
Branches:
master
Children:
17d16008, a6e4ce9f
Parents:
fb238f82
git-author:
Timothy B. Terriberry <tterribe@xiph.org> (10/14/14 00:46:00)
git-committer:
Anton Khirnov <anton@khirnov.net> (10/18/14 03:01:59)
Message:

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>

(No files)

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