v4l2: fix h264 playback stuck issue. [1/1]
authorSong Zhao <song.zhao@amlogic.com>
Tue, 3 Nov 2020 16:57:55 +0000 (08:57 -0800)
committerHui Zhang <hui.zhang@amlogic.com>
Fri, 6 Nov 2020 02:46:22 +0000 (19:46 -0700)
commitf9ad603613aa944352f8b136a85d7dce070c0b9a
treedc4af35d3f425fc75ff63a4b7979af43f1895e72
parentbe4a9cbf3afc80df818419f731dc79551df6ca9d
v4l2: fix h264 playback stuck issue. [1/1]

PD#SWPL-36161

Problem:
Play online video source, seek after the video
screen is stuck, sound normal

Solution:
clear reference buffer status at the reset time
that make sure dpb status is clean.

Verify:
u212

Change-Id: I19c984fc1ab894c45759bf4e2f913b287c44e36d
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
drivers/frame_provider/decoder/h264_multi/vmh264.c