DescriptionEnsure GpuVideoDecoder satisfies outstanding reads before firing callback indicating it is reset.
Previously GVD would post the fake frame to VideoRendererBase, but fire the
callback without waiting for VRB to process the frame. Now the callback is
posted to the same loop so VRB is guaranteed to see the frame before
VRB::OnDecoderFlushDone() DCHECKs that !pending_read_.
TEST=closing a tab playing HW-accelerated video no longer DCHECKs in VRB::OnDecoderFlushDone.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141746
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|