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

Unified Diff: media/base/seekable_buffer.h

Issue 2140001: Removed PushSource::Packet. SeekableBuffer.current_time() fixed to return (Closed)
Patch Set: - Created 10 years, 7 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/seekable_buffer.h
diff --git a/media/base/seekable_buffer.h b/media/base/seekable_buffer.h
index 1a423e0d894dcd5717800087bfd116fff0c4eba7..eff34e6214cd28888d3823e10290e1f5e99bd090 100644
--- a/media/base/seekable_buffer.h
+++ b/media/base/seekable_buffer.h
@@ -111,9 +111,9 @@ class SeekableBuffer {
// value calculated based on the timestamp of the current buffer. If
// timestamp for the current buffer is set to 0 or the data was added with
// Append(const uint*, size_t), then returns value that corresponds to the
- // last position in a buffer that had timestamp set. 0 is returned if no
- // buffers we read from had timestamp set.
- // TODO(sergeyu): Use StreamSample::kInvalidTimestamp here.
+ // last position in a buffer that had timestamp set.
+ // StreamSample::kInvalidTimestamp is returned if no buffers we read
+ // from had timestamp set.
base::TimeDelta current_time() const { return current_time_; }
private:

Powered by Google App Engine
This is Rietveld 408576698