amstream: fixed dtv and esplayer play fail. [1/1]
authorgan.zhang <gan.zhang@amlogic.com>
Mon, 19 Oct 2020 11:52:06 +0000 (19:52 +0800)
committerNanxin Qin <nanxin.qin@amlogic.com>
Wed, 21 Oct 2020 02:46:42 +0000 (19:46 -0700)
commitb8c59378893659e27068204e2d633d2dbadeaef6
treeb761fa3a94b1252346bcd4a56225860ca6ef81b1
parent214fd2509556793064ad70152f822234a43ee1f2
amstream: fixed dtv and esplayer play fail. [1/1]

PD#SWPL-35372
PD#SWPL-35326

Problem:
The port is not released due to an error in the judgment variable.

Solution:
clear ports status when inst exit.

Verify:
AB311

Change-Id: I837ee6b2719a1dfc232f96ccb296c02d0dad2c43
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
drivers/stream_input/amports/amstream.c