commit | 4237ed70b2a41b585f79f2b5d12e96193743342d | [log] [tgz] |
---|---|---|
author | arty.ho <arty.ho@mstarsemi.com> | Thu May 03 10:55:16 2018 +0800 |
committer | Arty Ho <arty.ho@mstarsemi.com> | Mon Sep 10 12:36:09 2018 +0000 |
tree | 7f4baed127a8353a417a92b08ce773e7ba5bc172 | |
parent | 75fb51b0ecaa941729ce18ba966276c91d33b2b6 [diff] |
Allocate new native handle to store sidebandStream When we get sidebandStream from TvInput, we only store the address of native handle, the address point to native_handle_t in _hidl_replay. After openStream is finished, the _hidl_replay will be freed automatically, therefore we will use the freed memory in setSidebandStrem, It will cause the writeNativeHandle fail in setSidebandStrem. Change-Id: Idd2e8343670ef5a3048836f1db978cd7c04378b7