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

Unified Diff: media/base/decoder_buffer.h

Issue 2748923002: Remove dead splice_timestamp() field from DecoderBuffer. (Closed)
Patch Set: Created 3 years, 9 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 ac87dcf72856d2be0c64deb185ccb26b01771719..0341e5784f725a32fcc7d062e757f5096cf693ae 100644
--- a/media/base/decoder_buffer.h
+++ b/media/base/decoder_buffer.h
@@ -148,20 +148,6 @@ class MEDIA_EXPORT DecoderBuffer
return data_ == NULL;
}
- // Indicates this buffer is part of a splice around |splice_timestamp_|.
- // Returns kNoTimestamp if the buffer is not part of a splice.
- base::TimeDelta splice_timestamp() const {
- DCHECK(!end_of_stream());
- return splice_timestamp_;
- }
-
- // When set to anything but kNoTimestamp indicates this buffer is part of a
- // splice around |splice_timestamp|.
- void set_splice_timestamp(base::TimeDelta splice_timestamp) {
- DCHECK(!end_of_stream());
- splice_timestamp_ = splice_timestamp;
- }
-
bool is_key_frame() const {
DCHECK(!end_of_stream());
return is_key_frame_;
@@ -205,7 +191,6 @@ class MEDIA_EXPORT DecoderBuffer
std::unique_ptr<uint8_t, base::AlignedFreeDeleter> side_data_;
std::unique_ptr<DecryptConfig> decrypt_config_;
DiscardPadding discard_padding_;
- base::TimeDelta splice_timestamp_;
bool is_key_frame_;
// Constructor helper method for memory allocations.
« 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