From 7ddac5be27454a2fd322ede63160e9dde3466e2f Mon Sep 17 00:00:00 2001 From: Peng Yixin Date: Fri, 30 Oct 2020 18:11:52 +0800 Subject: [PATCH] mavs: fixed avs file playback stuck issue [1/1] PD#SWPL-25580 Problem: vf was not init again at reset, avs file playback stuck. Solution: Reinitializing vf buffer solves this problem. Verify: AB311 Change-Id: I3ea47598542dd035616937624cff9034f48317b0 Signed-off-by: Peng Yixin --- drivers/frame_provider/decoder/avs/avs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/frame_provider/decoder/avs/avs.c b/drivers/frame_provider/decoder/avs/avs.c index 2b6cdeb..6314f9d 100644 --- a/drivers/frame_provider/decoder/avs/avs.c +++ b/drivers/frame_provider/decoder/avs/avs.c @@ -1191,6 +1191,7 @@ static void vavs_local_init(bool is_reset) { int i; + is_reset = 0; vavs_ratio = vavs_amstream_dec_info.ratio; avi_flag = (unsigned long) vavs_amstream_dec_info.param; -- 2.20.1