Made MediaCodecAudioDecoder handle unsolicied EOS's.
Some devices seem to be sending multiple EOS output buffers to MCAD, which doesn't handle them well. This CL makes it possible for a MediaCodecLoop client to signal an error when an EOS buffer arrives, to transition MCL into the error state safely. Bug: 818866 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 Change-Id: Ic40b2a10ee4d983be28211b18ee9268a379f13d5 Reviewed-on: https://chromium-review.googlesource.com/957642Reviewed-by:Thomas Guilbert <tguilbert@chromium.org> Commit-Queue: Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/master@{#542576}
Showing
Please register or sign in to comment