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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/video_decoder.h" 5 #include "media/base/video_decoder.h"
6 6
7 #include "media/base/video_frame.h" 7 #include "media/base/video_frame.h"
8 8
9 namespace media { 9 namespace media {
10 10
(...skipping 10 matching lines...) Expand all
21 } 21 }
22 22
23 bool VideoDecoder::NeedsBitstreamConversion() const { 23 bool VideoDecoder::NeedsBitstreamConversion() const {
24 return false; 24 return false;
25 } 25 }
26 26
27 bool VideoDecoder::CanReadWithoutStalling() const { 27 bool VideoDecoder::CanReadWithoutStalling() const {
28 return true; 28 return true;
29 } 29 }
30 30
31 int VideoDecoder::GetMaxDecodeRequests() const {
32 return 1;
33 }
34
31 } // namespace media 35 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698