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

Unified Diff: media/filters/source_buffer_stream.h

Issue 10832151: Add kSeekToStartFudgeRoom to SourceBufferStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase ToT Created 8 years, 4 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 | « media/filters/chunk_demuxer_unittest.cc ('k') | media/filters/source_buffer_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/source_buffer_stream.h
diff --git a/media/filters/source_buffer_stream.h b/media/filters/source_buffer_stream.h
index 1dba5bda8ec6dda438e910ea3ccca3ede6d07c36..1c72c238f2b30d1acd4fe147c91f63225ed5d9db 100644
--- a/media/filters/source_buffer_stream.h
+++ b/media/filters/source_buffer_stream.h
@@ -174,9 +174,9 @@ class MEDIA_EXPORT SourceBufferStream {
// for the previous |selected_range_|.
void SetSelectedRange(SourceBufferRange* range);
- // Returns true if |timestamp| occurs before the start timestamp of the first
- // range in |ranges_|, false otherwise or if |ranges_| is empty.
- bool IsBeforeFirstRange(base::TimeDelta timestamp) const;
+ // Returns true if |seek_timestamp| refers to the beginning of the first range
+ // in |ranges_|, false otherwise or if |ranges_| is empty.
+ bool ShouldSeekToStartOfBuffered(base::TimeDelta seek_timestamp) const;
// Returns true if the timestamps of |buffers| are monotonically increasing
// since the previous append to the media segment, false otherwise.
« no previous file with comments | « media/filters/chunk_demuxer_unittest.cc ('k') | media/filters/source_buffer_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698