DescriptionFix race condition when accessing time_progressing_.
The |time_progressing_| variable should only be accessed via the
media thread, it can't be accessed under lock since it is set
during a call which may be reentrant to locked methods.
The fix is to use a proxy for |time_progressing_| when called from
other threads; luckily the inverse of |render_first_frame_and_stop_|
will suffice.
BUG=512371
TEST=media_unittests
Committed: https://crrev.com/a10468d1cf8729983532b6b0e2595722ea284fbe
Cr-Commit-Position: refs/heads/master@{#339817}
Patch Set 1 #
Total comments: 12
Patch Set 2 : Comments. #
Total comments: 1
Messages
Total messages: 10 (2 generated)
|