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

Unified Diff: media/filters/fake_demuxer_stream.h

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/filters/fake_demuxer_stream.h
diff --git a/media/filters/fake_demuxer_stream.h b/media/filters/fake_demuxer_stream.h
index 1c1144e6b7f9cbb406ff5c6cca3525d653879352..23a92670cb04f9d2515d103767faa4374307fd86 100644
--- a/media/filters/fake_demuxer_stream.h
+++ b/media/filters/fake_demuxer_stream.h
@@ -49,6 +49,9 @@ class FakeDemuxerStream : public DemuxerStream {
// Satisfies the pending read with the next scheduled status and buffer.
void SatisfyRead();
+ // Satisfies pending read request and then holds the following read.
+ void SatisfyAndHoldRead();
xhwang 2014/04/25 00:36:03 SatisfyAndHoldNextRead()?
Sergey Ulanov 2014/04/26 00:59:29 Renamed to SatisfyReadAndHoldNext()
+
// Satisfies the pending read (if any) with kAborted and NULL. This call
// always clears |hold_next_read_|.
void Reset();

Powered by Google App Engine
This is Rietveld 408576698