commit | c8b1c26b3b10b0807bcde2f6e9ede5b6248f412a | [log] [tgz] |
---|---|---|
author | bohu <bohu@google.com> | Thu Apr 29 15:07:33 2021 -0700 |
committer | Bo Hu <bohu@google.com> | Thu Apr 29 22:21:05 2021 +0000 |
tree | 9e41b2cb6ad5b47ad40ecc552f63784a8f1e6b75 | |
parent | 7a806c4de3875aa96cde3baa54056fd4f1edfc18 [diff] |
c2-codecs: resend csd after flush The framework assumes decoder keeps track of the csd0 and csd1 for h264 frames and re-use it after flush. In addition, host decoder has to be recreated for this to work. This cl does the above operations. Bug: 186770394 Bug: 186018470 Test: atest android.media.cts.MediaCodecTest#testDecodeAfterFlush Change-Id: I9972e91e9ca708f3f7ad569bda750c96064394d9