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

Unified Diff: media/remoting/proto_utils.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/mojo/interfaces/media_types.mojom ('k') | media/remoting/rpc.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/proto_utils.cc
diff --git a/media/remoting/proto_utils.cc b/media/remoting/proto_utils.cc
index 3431f3e4fc192cf54145c1770ae8483705e89e87..52bd4f26b969b8c93cfc7bd1ea58536c7d3b9f6f 100644
--- a/media/remoting/proto_utils.cc
+++ b/media/remoting/proto_utils.cc
@@ -88,11 +88,6 @@ scoped_refptr<DecoderBuffer> ConvertProtoToDecoderBuffer(
DecoderBuffer::DiscardPadding(front_discard, back_discard));
}
- if (buffer_message.has_splice_timestamp_usec()) {
- buffer->set_splice_timestamp(base::TimeDelta::FromMicroseconds(
- buffer_message.splice_timestamp_usec()));
- }
-
if (buffer_message.has_side_data()) {
buffer->CopySideDataFrom(
reinterpret_cast<const uint8_t*>(buffer_message.side_data().data()),
@@ -140,8 +135,6 @@ void ConvertDecoderBufferToProto(const DecoderBuffer& decoder_buffer,
decoder_buffer.discard_padding().first.InMicroseconds());
buffer_message->set_back_discard_usec(
decoder_buffer.discard_padding().second.InMicroseconds());
- buffer_message->set_splice_timestamp_usec(
- decoder_buffer.splice_timestamp().InMicroseconds());
if (decoder_buffer.side_data_size()) {
buffer_message->set_side_data(decoder_buffer.side_data(),
« no previous file with comments | « media/mojo/interfaces/media_types.mojom ('k') | media/remoting/rpc.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698