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

Unified Diff: media/base/video_decoder.cc

Issue 239893002: Allow multiple concurrent Decode() requests in VideoDecoder interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: media/base/video_decoder.cc
diff --git a/media/base/video_decoder.cc b/media/base/video_decoder.cc
index ed875f48eab46c2f5f38bd10fd6281aa76463b13..118e2a3e3a9a8b90a79830351467454c0979fd10 100644
--- a/media/base/video_decoder.cc
+++ b/media/base/video_decoder.cc
@@ -24,4 +24,8 @@ bool VideoDecoder::CanReadWithoutStalling() const {
return true;
}
+int VideoDecoder::GetMaxDecodeRequests() const {
+ return 1;
+}
+
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698