amlhwdmx: CB1 fix multi-seek hang and out of sync [1/1]

PD#SWPL-186431

Problem:
multi-seek hang due to fail to flush ts buf in waiting state
multi-seek out of sync due to uneven a/v output from amlhwdmx

Solution:
add signal to flush buf which wait to write to dmx
add load balance strategy
drop out of segment audio buf
refine pts diff check for flow control
cfg h/w dmx flow control th to 100

Verify:
(detail info)

Change-Id: I291580a1944fd9418bde78a5cbbc98d9e7862574
Signed-off-by: xuesong.jiang <xuesong.jiang@amlogic.com>
7 files changed