commit | ca72eff8a62e63efc26f33c8dae5e5b79ecbc95c | [log] [tgz] |
---|---|---|
author | Pin-chih Lin <johnylin@google.com> | Tue Jun 12 11:22:04 2018 +0800 |
committer | Pin-chih Lin <johnylin@google.com> | Tue Jun 19 11:08:52 2018 +0800 |
tree | e0ffdf149598c7b322be3819749bff149b7f4f49 | |
parent | 617d7634c57bdfd539f3bee57220bfad8c31ec44 [diff] |
codec2: handle CCodec sends empty buffer at EOS After ag/4278466, CCodec changes to send EOS work with no input buffer rather than a dummy buffer. Handle this case for C2VDAComponent. Bug: 73261432 Test: CtsMediaTestCases android.media.cts.MediaCodecTest android.media.cts.DecoderTest#testDecodeWithEOSOnLastBuffer android.media.cts.MediaPlayerTest#testLocalVideo_MP4_H264_480x360_1000kbps_25fps_AAC_Stereo_128kbps_44110Hz Change-Id: Ib43f39804fc63520c4320f0a4a76822c8b15e8f0