media_module: h264 green pixelation is seen during playback [1/1]
PD#OTT-6820
Problem:
Only when the resolution is switched from a stream with a lot of
decoded buffers to another stream that needs a lot of decoded
buffers,this problem occur when the canvas id used at the same
time has exceeded the maximum value and cannot be allocated.
Solution:
When switching the resolution, there is no need the canvas id
of the previous resolution, so release it, the canvas id will
not be insufficient to cause flower screen.
Verify:
S922X
Change-Id: Ie9944f71d1bc85c8c90198573c9b209b74f5f828
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>