------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120326293
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=118040127
Also use MediaCodec buffer flag constants instead of those on MediaExtractor. This is in preparation for merging InputBuffer and SampleHolder. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=117810136
Issue: #651