Enhance decoder output frame handling
1. Use ScheduledExecutorService instead of sleep because sleep
time is very inaccurate which may wake up too late to handle
the output frame.
2. Delay the frame process for AV1 because of superframe may
cause initial frames delay.
Bug: 299531074
Change-Id: Id63e08af95a778e8f4bf425bfe0276f922f23360
Signed-off-by: Ruofei Ma <ruofeim@google.com>
Loading
Please register or sign in to comment