From 207b56d33144d8d78bd48bed5f47b945aca2edeb Mon Sep 17 00:00:00 2001 From: shihong.zheng Date: Mon, 30 Dec 2019 11:15:59 +0000 Subject: mpeg2: fix cts adaptive playback test fail. [1/1] PD#SWPL-19221 Problem: mpeg2 cts case AdaptivePlaybackTest failed. Solution: add two extra buffers for display. Verify: AC214 Change-Id: I34602c30447f2a91d387177c49be2e25b762a1ac Signed-off-by: shihong.zheng --- diff --git a/drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c b/drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c index 6f78276..64e81c7 100644 --- a/drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c +++ b/drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c @@ -117,7 +117,7 @@ static unsigned int radr; static unsigned int rval; static u32 without_display_mode; -static u32 dynamic_buf_num_margin; +static u32 dynamic_buf_num_margin = 2; #define VMPEG12_DEV_NUM 9 static unsigned int max_decode_instance_num = VMPEG12_DEV_NUM; -- cgit