Only update codecInfo when needed
This avoids calling getDecoderInfo repeatedly in the case where shouldInitCodec return false (e.g. because we don't have a surface and cannot instantiate a dummy surface). Issue: #677 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=157847702
Showing
with
23 additions
and
24 deletions
Please
register
or
sign in
to comment