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

Unified Diff: media/mojo/common/media_type_converters.cc

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 | « media/base/decoder_buffer.cc ('k') | media/mojo/common/media_type_converters_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/common/media_type_converters.cc
diff --git a/media/mojo/common/media_type_converters.cc b/media/mojo/common/media_type_converters.cc
index 23435594f07f100883e8a1e0a862c36853e62131..f8f72258623918fb2fd8b181683cf81b2d0b0b98 100644
--- a/media/mojo/common/media_type_converters.cc
+++ b/media/mojo/common/media_type_converters.cc
@@ -118,7 +118,6 @@ TypeConverter<media::mojom::DecoderBufferPtr,
mojo_buffer->data_size = base::checked_cast<uint32_t>(input->data_size());
mojo_buffer->front_discard = input->discard_padding().first;
mojo_buffer->back_discard = input->discard_padding().second;
- mojo_buffer->splice_timestamp = input->splice_timestamp();
// Note: The side data is always small, so this copy is okay.
if (input->side_data()) {
@@ -165,7 +164,6 @@ TypeConverter<scoped_refptr<media::DecoderBuffer>,
media::DecoderBuffer::DiscardPadding discard_padding(input->front_discard,
input->back_discard);
buffer->set_discard_padding(discard_padding);
- buffer->set_splice_timestamp(input->splice_timestamp);
// TODO(dalecurtis): We intentionally do not deserialize the data section of
// the DecoderBuffer here; this must instead be done by clients via their
« no previous file with comments | « media/base/decoder_buffer.cc ('k') | media/mojo/common/media_type_converters_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698