DescriptionMove OnDecoderInitDone() from decoder to pipeline thread.
We need to ensure |sink_| access is thread safe so every sink implementation
doesn't have to worry about locking and out of order calls.
Failure to do so will lead to dead locks and shutdown crashes.
BUG=158848, 157793
TEST=media_unittests.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165854
Patch Set 1 #Patch Set 2 : Missed AutoUnlock. #
Total comments: 10
Patch Set 3 : Comments. #
Total comments: 18
Patch Set 4 : Correctness! #Patch Set 5 : Fix unittest. #
Messages
Total messages: 12 (0 generated)
|