commit | 878832befac85322bc7769b798be52b191832b9e | [log] [tgz] |
---|---|---|
author | Pin-chih Lin <johnylin@google.com> | Wed Apr 18 20:33:13 2018 +0800 |
committer | Pin-chih Lin <johnylin@google.com> | Wed Apr 18 20:33:13 2018 +0800 |
tree | 06d846f19da36a8e4b6fa516efbd697df9bd3563 | |
parent | b98a027712418506c6a4c2aa9319e02801e7ff34 [diff] |
codec2: instantiate VDAAdaptor on component start In Codec2.0 spec, component could be started/stopped multiple times. Since Chrome VDA only accepts to be initialized once per instance, we would like to instantiate VDAAdaptor each time component is started, and destory it each time component is stopped. Bug: 78207086 Test: CtsMediaTestCases android.media.cts.DecoderTest#testCodecResetsVP8WithSurface Change-Id: I7e38dc3f86fd05736bfd1b94368c3cff983ca2b9