Return delay of 0 for invalid timestamps
Invalid timestamps can occur when a stream is closed. These timestamps are represented by the minimum value of an int64. This change catches this value and stops interpretting it as a valid timestamp. The rendering pipeline was crashing when receiving negative timestamps. Bug: b/115771591 Test: Play YT, Hit next/prev Change-Id: I0809a9563aa1e865e4832cbecb6a54886a350f2f Reviewed-on: https://chromium-review.googlesource.com/1235291Reviewed-by:Kenneth MacKay <kmackay@chromium.org> Commit-Queue: Aidan Wolter <awolter@chromium.org> Cr-Commit-Position: refs/heads/master@{#592685}
Showing
Please register or sign in to comment