avsync-lib: correct set the initial clock phase [1/1]

PD#SWPL-53639

Problem:
For 60fps content playing on 59.94, there will be clock
frame phase moving over the time and drop one frame.
the initial phase was not locked when it was located between
1/4 rto 3/4 V-sync, the later phase moving cause the phase out
of the range and reset. it introduced one extra frame-drop and
reset the pattern, cause test fail

Solution:
Correct the wrong condition, always align the initial phase
to 1/2 V-sync to give maxium PTS jitter tolerance.

Verify:
NTS test case

Change-Id: I598725d136198ebe01f3778712cd2c94845120e8
Signed-off-by: yongchun.li <yongchun.li@amlogic.com>
1 file changed
tree: 781b6dfc468e2992c7dfe7ce43ad098d4cebde8d
  1. src/
  2. avsync-lib.mk
  3. Config.in
  4. Makefile