avsync-lib: pcr-master fix DekTech loop adaption issue [1/1]

PD#TV-112983

Problem:
Fix of TV-105360 introduces regression, and it will reset wall clock to
smallest of A/V/PCR. If the discontinuty PTS is blocked from reporting
to msync driver, wall clock will never increase big enough to render the
data after discontinuity point.

Solution:
Avoid reporting vdisc when buffer underflow is about to happen
(it will mess up the kernel record of last vpts) and handle outlier
audio correctly if current avsync status is not SETUP.

Verify:
LLama + TM2

Change-Id: Ic70d14d59b233b6f60acfbfac3c275f54d3f7a42
Signed-off-by: Song Zhao <song.zhao@amlogic.com>
1 file changed
tree: 3b210374681ebd8b7f1ceb064d7308d022a4864e
  1. src/
  2. avsync-lib.mk
  3. Config.in
  4. Makefile
  5. VERSION
  6. version_config.sh