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

Unified Diff: media/base/decoder_buffer.h

Issue 276573002: Add gapless playback support for AAC playback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix msvc error. Created 6 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
« no previous file with comments | « no previous file | media/base/decoder_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/decoder_buffer.h
diff --git a/media/base/decoder_buffer.h b/media/base/decoder_buffer.h
index a3e6aa081c63fefdb1e0bcee4ca099690105dabc..27de88f4692e3d408d81508bc913c561c2712dc7 100644
--- a/media/base/decoder_buffer.h
+++ b/media/base/decoder_buffer.h
@@ -66,17 +66,16 @@ class MEDIA_EXPORT DecoderBuffer
return timestamp_;
}
- void set_timestamp(const base::TimeDelta& timestamp) {
- DCHECK(!end_of_stream());
- timestamp_ = timestamp;
- }
+ // TODO(dalecurtis): This should be renamed at some point, but to avoid a yak
+ // shave keep as a virtual with hacker_style() for now.
+ virtual void set_timestamp(base::TimeDelta timestamp);
base::TimeDelta duration() const {
DCHECK(!end_of_stream());
return duration_;
}
- void set_duration(const base::TimeDelta& duration) {
+ void set_duration(base::TimeDelta duration) {
DCHECK(!end_of_stream());
duration_ = duration;
}
« no previous file with comments | « no previous file | media/base/decoder_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698