author | “maolin.zhou” <maolin.zhou@amlogic.com> | 2020-08-13 08:03:00 (GMT) |
---|---|---|
committer | Shen Liu <shen.liu@amlogic.com> | 2020-09-10 06:48:56 (GMT) |
commit | 6e3541d1a11f6f7a772c79ede8ac45c3d947abb2 (patch) | |
tree | b2143a58fbd00801e00ad41bdb8409ad037c9ac0 | |
parent | 14b18dbfacd641f4b1e15fbadd03fac6f37d77bc (diff) | |
download | common-6e3541d1a11f6f7a772c79ede8ac45c3d947abb2.zip common-6e3541d1a11f6f7a772c79ede8ac45c3d947abb2.tar.gz common-6e3541d1a11f6f7a772c79ede8ac45c3d947abb2.tar.bz2 |
tsync: apts lookup failed because interpolate calc method invalid [1/1]
PD#SWPL-31520
Problem:
Because interpolate threshold setting is too small, this will lead to
failure of using the interpolate calculation method to look up right
audio pts.
Solution:
Increase the threshold of the apts interpolate value
Verify:
U212
Change-Id: I30d4ad7085f4774d932acf557784ffbb85169afb
Signed-off-by: maolin.zhou <maolin.zhou@amlogic.com>
-rw-r--r-- | drivers/amlogic/media/frame_sync/ptsserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/amlogic/media/frame_sync/ptsserv.c b/drivers/amlogic/media/frame_sync/ptsserv.c index dde139f..71441bf 100644 --- a/drivers/amlogic/media/frame_sync/ptsserv.c +++ b/drivers/amlogic/media/frame_sync/ptsserv.c @@ -34,7 +34,7 @@ #define AUDIO_LOOKUP_RESOLUTION 1024 #define INTERPOLATE_AUDIO_PTS -#define INTERPOLATE_AUDIO_RESOLUTION 9000 +#define INTERPOLATE_AUDIO_RESOLUTION (9000 * 10) #define PTS_VALID_OFFSET_TO_CHECK 0x08000000 #define OFFSET_DIFF(x, y) ((int)(x - y)) |