diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-15 21:18:27 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-15 21:18:27 +0000 |
commit | b40a1f1acb4d3fa0c56a3706dd47a2ca8d471834 (patch) | |
tree | 1493d56530ec97784b6a15dfccfe3532da0ee316 /ppapi/proxy/plugin_var_tracker.cc | |
parent | fff077694f69c94a9f4e8ad41016c4bf0f465131 (diff) | |
download | chromium_src-b40a1f1acb4d3fa0c56a3706dd47a2ca8d471834.zip chromium_src-b40a1f1acb4d3fa0c56a3706dd47a2ca8d471834.tar.gz chromium_src-b40a1f1acb4d3fa0c56a3706dd47a2ca8d471834.tar.bz2 |
Stop 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
Review URL: http://codereview.chromium.org/8890071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/plugin_var_tracker.cc')
0 files changed, 0 insertions, 0 deletions