vdec: fixed some issues of playback on dv mode. [1/1]
authorNanxin Qin <nanxin.qin@amlogic.com>
Fri, 22 May 2020 12:28:19 +0000 (20:28 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Tue, 26 May 2020 05:56:19 +0000 (22:56 -0700)
commit527e712a2b0e5dbc14db80e0a854b3c97bcd6823
tree305a8a6d624cd355b8b5469b72559fe3973bfd93
parenta3339bfb9d2487506e72bb7810f82952a38a6303
vdec: fixed some issues of playback on dv mode. [1/1]

PD#SWPL-26639
PD#SWPL-26646

Problem:
1. fixed the issue of stbuf ops is null on dv mode.
2. the video is stuck in fixed position when play the DV video

Solution:
1. the stbuf ops must be set into second vdec inst.
2. ignore pts adjust when work on dv mode.

Verify:
ab311

Change-Id: I8a275415a3eb647ce2f587b1d3f5a4055cf5d158
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
drivers/frame_provider/decoder/h265/vh265.c
drivers/frame_provider/decoder/utils/vdec.c