DescriptionDon't ReleaseCodecAndBundle in AVDA::ActualDestroy.
Previously, we were releasing the codec and surface bundle when
destroying AVDA. However, if async codec allocation was in
progress, then this would modify |codec_config_|. Even if
no race condition was present, codec allocation would fail
when it tried to dereference the surface bundle.
This CL changes ActualDestroy to ReleaseCodec only. The surface
bundle will be freed when the surface bundle is dropped during
AVDA destruction (or when async codec allocation completes).
BUG=718865
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2864683002
Cr-Commit-Position: refs/heads/master@{#469833}
Committed: https://chromium.googlesource.com/chromium/src/+/02ea6568c0b73b6c9873ea2f3aef44d77dc81a25
Patch Set 1 #
Messages
Total messages: 14 (10 generated)
|