DescriptionStop audio FFmpegDemuxerStreams if we get notified that audio rendering is disabled.
This prevents reading the entire file until end of stream when attempting to read audio data while disabled.
Part of this bug was due to keeping two separate arrays of FFmpegDemuxerStreams and inspecting the wrong one. To further reinforce this change, the two arrays have been merged.
BUG=106735
TEST=disable audio service on Windows 7 then navigate to various HTML5 audio/video resource with a clean profile: it should take less time to load and the buffer bar should be only partially full instead of 100% full
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114699
Patch Set 1 #Patch Set 2 : fixes #Patch Set 3 : one more time #
Total comments: 4
Patch Set 4 : changed streams #Patch Set 5 : added more tests #Patch Set 6 : more tests #Patch Set 7 : typo #
Total comments: 4
Patch Set 8 : foo #
Messages
Total messages: 6 (0 generated)
|