Fix calling AverageDuration() on wrong thread
This CL saves the last AverageDuration() value from DecoderStream on the correct thread, to be used in IsBeforeStartTime(), which can be called from a different thread. Bug: 1096280 Change-Id: Ia098cb282d61a5ac610df4a32eccebab6742310a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274845 Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Auto-Submit: Thomas Guilbert <tguilbert@chromium.org> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#784250}
Showing
Please register or sign in to comment