Fix further issues with decoder re-use
It's no longer guaranteed that onOutputFormatChanged will always be called when the renderer is re-enabled, since the codec may be kept and its output format may not change. Hence we need to avoid resetting state in onDisabled that we need when the renderer is enabled again. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=219821519
Showing
with
59 additions
and
57 deletions
Please
register
or
sign in
to comment