Release MediaCodec on another thread more often.
Since MediaCodec::release() can hang, this CL moves more cases of it to a separate thread when needed. Previously, we did this only during AVDA destruction. This CL adds support for other cases in which we replace or clear |media_codec_|. BUG=613238 Review-Url: https://codereview.chromium.org/2116573002 Cr-Commit-Position: refs/heads/master@{#403345}
Showing
Please register or sign in to comment