Skip to content
Snippets Groups Projects
Commit 6cbbf059 authored by Timothy B. Terriberry's avatar Timothy B. Terriberry Committed by Anton Khirnov
Browse files

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: default avatarAnton Khirnov <anton@khirnov.net>
parent fb238f82
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment