summaryrefslogtreecommitdiff
authorshihong.zheng <shihong.zheng@amlogic.com>2019-12-30 11:15:59 (GMT)
committer Hui Zhang <hui.zhang@amlogic.com>2019-12-31 01:56:42 (GMT)
commit207b56d33144d8d78bd48bed5f47b945aca2edeb (patch)
tree65fef23ab7c473e3bb1d6dad576a5fd6a373375d
parent49c06502c900f3fd27e878e04881d499b4788396 (diff)
downloadmedia_modules-207b56d33144d8d78bd48bed5f47b945aca2edeb.zip
media_modules-207b56d33144d8d78bd48bed5f47b945aca2edeb.tar.gz
media_modules-207b56d33144d8d78bd48bed5f47b945aca2edeb.tar.bz2
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 <shihong.zheng@amlogic.com>
Diffstat
-rw-r--r--drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c2
1 files changed, 1 insertions, 1 deletions
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;