summaryrefslogtreecommitdiff
authorshihong.zheng <shihong.zheng@amlogic.com>2019-12-30 11:15:59 (GMT)
committer Dai-Yang Wu <dywu@google.com>2020-01-16 08:02:51 (GMT)
commit077232b940ba50bbc48863b080c8a07fb176a29a (patch)
tree69e887932c1e52d968a1efa8dc57d99b30214aff
parentaac901b9cf2199375959d6ca4467ae09efa96898 (diff)
downloadmedia_modules-077232b940ba50bbc48863b080c8a07fb176a29a.zip
media_modules-077232b940ba50bbc48863b080c8a07fb176a29a.tar.gz
media_modules-077232b940ba50bbc48863b080c8a07fb176a29a.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> Reviewed-on: https://eureka-partner-review.googlesource.com/c/amlogic/media_modules/+/150147 Reviewed-by: Ben Cheng <bccheng@google.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;