Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Unified Diff: webkit/media/webmediaplayer_impl.cc

Issue 10165010: Add a media pipeline status error code for decryption error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/media/webmediaplayer_impl.cc
diff --git a/webkit/media/webmediaplayer_impl.cc b/webkit/media/webmediaplayer_impl.cc
index a604f3a760e629b9f5baedf148c049ee62db3966..dc89e82bdf94296a3c5da95a5e538b96e05d9c4b 100644
--- a/webkit/media/webmediaplayer_impl.cc
+++ b/webkit/media/webmediaplayer_impl.cc
@@ -878,6 +878,7 @@ void WebMediaPlayerImpl::OnPipelineError(PipelineStatus error) {
break;
case media::PIPELINE_ERROR_DECODE:
+ case media::PIPELINE_ERROR_DECRYPT:
ddorwin 2012/04/20 19:18:50 WebKit now has a decrypt error. We should add a We
xhwang 2012/04/20 19:51:01 Do you mean adding something like NetworkStateDeco
ddorwin 2012/04/20 22:55:19 Right. I looked at the WebKit code more and found
xhwang 2012/04/21 00:53:01 Done.
case media::PIPELINE_ERROR_ABORT:
case media::PIPELINE_ERROR_OUT_OF_MEMORY:
case media::PIPELINE_ERROR_AUDIO_HARDWARE:

Powered by Google App Engine
This is Rietveld 408576698