Merge "Update resampler to fetch exactly the frames needed" into lmp-preview-dev