MA-15552 VPU decoder: reset seek_flag and wait_res_change_done in time
Reset seek_flag and wait_res_change_done when receive
VID_API_EVENT_STOPPED event.
This also can fix an Andorid case indirectly:
Seek in the beginning, but has not do capture port streamoff/on
when receive res changed event, then will cause seek_flag status
incorrect.
If abort before receive seq_hdr_found evnt will call stop cmd to
fw, then will reset seek_flag and wait_res_change_done.
Signed-off-by: Shijie Qin <shijie.qin@nxp.com>
Reviewed-by: ming_qian <ming.qian@nxp.com>
(cherry picked from commit
93019dc136f9ad3c294e6b4be73049977895aed4)