amlqtdemux: CF1 smooth switching for dash resolution change [1/1]

PD#SWPL-186120

Problem:
start time may not exactly one of the sample timestamp
eg. in streaming resolution change flow

Solution:
add logic to checks whether there is a keyframe within the next 5 frames.
If so, a small amount of frame loss is used in exchange for smooth switching.

Verify:
(detail info)

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