mpeg12: CB2 fix output pts error in AndroidS CTS Test. [1/1]
authorgan.zhang <gan.zhang@amlogic.com>
Wed, 21 Jul 2021 08:36:13 +0000 (16:36 +0800)
committerliang ji <liang.ji@amlogic.com>
Thu, 9 Sep 2021 03:07:05 +0000 (03:07 +0000)
commitec697b824f434ebf7cdfd059c69255d939933910
treefbf652ab49ccf11065798811db46c2bf8f2a8206
parent6ab9bc8eb177dbe194679322a20bb69b85b8ba3b
mpeg12: CB2 fix output pts error in AndroidS CTS Test. [1/1]

PD#SWPL-54626
BUG=199275310

Problem:
The pts information of the decoded B frame is 0, The backend will
calculate the pts of the B frame according to the duration, so that the
calculated pts information will be incorrect and cause the test to fail.

Solution:
The decoded output pts information uses the one provided by
the upper layer.

Verify:
Franklin

Change-Id: I8c273abc3e43b6777fc1bdab81208a769d52b2e5
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c