vmh264: fix bug of stream not fluent [1/1]
authormiaohong chen <miaohong.chen@amlogic.com>
Thu, 21 May 2020 02:16:07 +0000 (10:16 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Mon, 25 May 2020 04:22:42 +0000 (21:22 -0700)
commitd44eaef0a3e91a2e4cfa7b0fc423a3b57387883c
treeae59ea5dd7b4628affe2775df98889baa7fa8fa7
parentceef85fa59997d14d6ab5167f90c34e58f277f56
vmh264: fix bug of stream not fluent [1/1]

PD#SWPL-26687

Problem:
Multi-instance h264 stream not fluent.

Solution:
The code stream has two sps but the id is 0.
As a result, the sps syntax is not updated,
and the original frame_mbs_only_flag is used,
resulting in an error.
update original frame_mbs_only_flag when reset.

Verify:
u212

Change-Id: I3d731b73d504d4bd9403382e088fcb31c64fd15f
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
drivers/frame_provider/decoder/h264_multi/vmh264.c