v4l: fixed the issue of h264/h265 parser. [1/1]
authorNanxin Qin <nanxin.qin@amlogic.com>
Sat, 30 Nov 2019 13:58:36 +0000 (21:58 +0800)
committerNanxin Qin <nanxin.qin@amlogic.com>
Sun, 1 Dec 2019 06:43:19 +0000 (14:43 +0800)
commit7a99e7dc835ac4af78d749ac8d301997001c2efc
tree4badbc59a927a6815b31de530dc111e20a0de6c8
parent9e4bad427bd58b19c9e1f8d5775b28a5ec7e4995
v4l: fixed the issue of h264/h265 parser. [1/1]

PD#SWPL-17322

Problem:
1. when a frame inclued 2 or more sps and they are differnt
   which cause to triggle event of resultion change infinite.
2. play the tiny stream maybe caused crash.

Solution:
1. fixed the issue of h264/h265 parser.
2. fixed the tiny es playback iusse.

Verify:
U212

Change-Id: I313991b13867b3c057225473e0407c05b20d799f
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
drivers/amvdec_ports/aml_vcodec_dec.c
drivers/amvdec_ports/decoder/vdec_h264_if.c
drivers/amvdec_ports/decoder/vdec_hevc_if.c