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

Unified Diff: media/base/fake_demuxer_stream.h

Issue 1918693003: Fix EOS reached before decoder fallback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | media/base/fake_demuxer_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/fake_demuxer_stream.h
diff --git a/media/base/fake_demuxer_stream.h b/media/base/fake_demuxer_stream.h
index c927636085d27465ae39afaf5ad1f992b7acb57c..d0f5c2cd4c331c854c3046971f4918ec34caa96a 100644
--- a/media/base/fake_demuxer_stream.h
+++ b/media/base/fake_demuxer_stream.h
@@ -63,6 +63,9 @@ class FakeDemuxerStream : public DemuxerStream {
// the stream.
void SeekToStart();
+ // Sets further read requests to return EOS buffers.
+ void SeekToEndOfStream();
+
// Sets the splice timestamp for all furture buffers returned via Read().
void set_splice_timestamp(base::TimeDelta splice_timestamp) {
splice_timestamp_ = splice_timestamp;
« no previous file with comments | « no previous file | media/base/fake_demuxer_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698