stream_input: need to enable tsync. [1/2]
authorchen.chen1 <chen.chen1@amlogic.com>
Fri, 28 Aug 2020 10:00:32 +0000 (18:00 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Mon, 31 Aug 2020 08:37:58 +0000 (01:37 -0700)
commit8547a9995c7a6377a2c36850108218504705ae1a
treed0cd05f04cb1163708ee10abc031a72f200f9bfc
parent4cd99df0818a6c824ddb3059738367d2895bc4db
stream_input: need to enable tsync. [1/2]

PD#SWPL-32438

Problem:
A/V out of sync, because tsync_pcr is not enabled

Solution:
call func tsync_pcr_start and tsync_pcr_stop

Verify:
verified on S905X4-AH212

Change-Id: I2a567cd1080c31c40e8330a3776edb7777d40222
Signed-off-by: Chen Chen <chen.chen1@amlogic.com>
drivers/stream_input/amports/stream_buffer_interface.c