| commit | e1c3b395209f2c03a290bf0c91c4d96dff5edf00 | [log] [tgz] |
|---|---|---|
| author | Wonsik Kim <wonsik@google.com> | Thu Mar 01 11:37:13 2018 -0800 |
| committer | Wonsik Kim <wonsik@google.com> | Wed Mar 07 17:00:48 2018 -0800 |
| tree | 6a7a4ea8d3a0e88d1fdbd3cb000b0885c360dc31 | |
| parent | 9b64c465e83f6b5ce6b587e8b0605bdd9f2aaea1 [diff] |
CCodec: fix corner cases - Catch invalid createInputSurface requests. - Move buffer allocation from setComponent() to start(). - Reset input surface at stop(). - Ignore flushed work. Bug: 74073134 Test: adb shell setprop debug.stagefright.ccodec yes Test: adb shell setprop debug.stagefright.omx_default_rank 1000 Test: adb shell killall mediaserver Test: atest android.media.cts.MediaCodecTest Change-Id: If95d3050e14fa9592d7eff4136a57326008455a0