Chromium Code Reviews
DescriptionFix race condition in media Pipeline::GetMediaTime() after seeking.
Seeking posts a task from main thread to media thread to seek the
renderer. Calling GetMediaTime() should be safe even when the
renderer has not yet received the message to performed the seek.
This change gaurds against using the renderer's media time while
a seek is pending. This prevents polluting |last_media_time_|
with bad values from the renderer that doesn't yet know about
the seek.
BUG=675556
TEST=New unit test && manually verfied bug fix.
Committed: https://crrev.com/454da202ef172f3ecbfb48c154ff97c8c10011b0
Cr-Commit-Position: refs/heads/master@{#441526}
Patch Set 1 #Patch Set 2 : Fix SharedState. #
Total comments: 7
Patch Set 3 : Feedback #Patch Set 4 : Typo #
Total comments: 2
Patch Set 5 : Feedback 2 #
Messages
Total messages: 16 (8 generated)
|
|||||||||||||||||||||||||||||||||||||