commit | 3fe0c8d0909e8b3429e187c1de88c90a635f07ea | [log] [tgz] |
---|---|---|
author | Pin-chih Lin <johnylin@google.com> | Tue Sep 11 12:17:53 2018 +0800 |
committer | Pin-chih Lin <johnylin@google.com> | Wed Sep 12 11:29:09 2018 +0800 |
tree | 75980b81c7fdf250daa51205d667d159e69c7c56 | |
parent | 06bccf3c3362d9d869cca8f471bc19abbd882bbb [diff] |
C2VDAComponent: handle empty CSD work In MediaCodec, CSD buffers are allowed to be empty (size=0), as for CCodec there is no input buffer sent along the work. We need to handle empty CSD buffer case for C2VDAComponent and tell apart from EOS work which also contains no input buffer. Bug: 80402878 Test: android.media.cts.AdaptivePlaybackTest#testH264_adaptiveEarlyEos for codec2.0 on eve-arcnext Change-Id: I19bf54d9bbbda89713660e0e73c3f5a10f93e106