diff options
author | acolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-22 17:51:56 +0000 |
---|---|---|
committer | acolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-22 17:51:56 +0000 |
commit | 17842d8060de9ca656ee07b82171db6f430855b2 (patch) | |
tree | fb660073defd9a532361601402f164d31164e950 /webkit/glue/webmediaplayer_impl.cc | |
parent | f5ec1bad309087686f7bac1c9335068334b9c283 (diff) | |
download | chromium_src-17842d8060de9ca656ee07b82171db6f430855b2.zip chromium_src-17842d8060de9ca656ee07b82171db6f430855b2.tar.gz chromium_src-17842d8060de9ca656ee07b82171db6f430855b2.tar.bz2 |
Refactor PipelineImpl to use CompositeFilter to manage Filter state transitions.
BUG=54110
TEST=media_unittests CompositeFilterTest.*
Review URL: http://codereview.chromium.org/5744002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69959 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webmediaplayer_impl.cc')
-rw-r--r-- | webkit/glue/webmediaplayer_impl.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/webmediaplayer_impl.cc b/webkit/glue/webmediaplayer_impl.cc index 4a64b0f..005c7cf 100644 --- a/webkit/glue/webmediaplayer_impl.cc +++ b/webkit/glue/webmediaplayer_impl.cc @@ -737,6 +737,8 @@ void WebMediaPlayerImpl::OnPipelineError() { case media::PIPELINE_ERROR_ABORT: case media::PIPELINE_ERROR_OUT_OF_MEMORY: case media::PIPELINE_ERROR_AUDIO_HARDWARE: + case media::PIPELINE_ERROR_OPERATION_PENDING: + case media::PIPELINE_ERROR_INVALID_STATE: // Decode error. SetNetworkState(WebMediaPlayer::DecodeError); break; |