commit | 3a6b85ce660fdabde8a6dc1f1391670dbc2cf72d | [log] [tgz] |
---|---|---|
author | Govindaraj Rajagopal <grajagop@codeaurora.org> | Wed Oct 16 17:32:58 2019 +0530 |
committer | Govindaraj Rajagopal <grajagop@codeaurora.org> | Wed Oct 16 18:29:55 2019 +0530 |
tree | 48d6ba82a4bbb9b72f18c34f20f177908edd8f30 | |
parent | a59d2a5e14752123aa6bcd4291e9de6827dff1af [diff] |
mm-video-v4l2: venc: add error handling for init failure If component_init then framework will not invoke deinit sequence. get_buffer_req on output port failed, so session was not closed and that is reported as leaks. So added error hadling to cleanup instance, if there any failure at component_init. Change-Id: I0e663c8c6d05eb149a3fbbe7fcfa96fef3ae5b4e Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>