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

Side by Side Diff: media/base/decoder_buffer.cc

Issue 23014009: media: Opus support for WebM in Media Source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing errors causing try bot failure Created 7 years, 3 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 unified diff | Download patch
« no previous file with comments | « media/base/decoder_buffer.h ('k') | media/base/run_all_unittests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/decoder_buffer.h" 5 #include "media/base/decoder_buffer.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "media/base/decrypt_config.h" 8 #include "media/base/decrypt_config.h"
9 9
10 namespace media { 10 namespace media {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 std::string DecoderBuffer::AsHumanReadableString() { 73 std::string DecoderBuffer::AsHumanReadableString() {
74 if (end_of_stream()) { 74 if (end_of_stream()) {
75 return "end of stream"; 75 return "end of stream";
76 } 76 }
77 77
78 std::ostringstream s; 78 std::ostringstream s;
79 s << "timestamp: " << timestamp_.InMicroseconds() 79 s << "timestamp: " << timestamp_.InMicroseconds()
80 << " duration: " << duration_.InMicroseconds() 80 << " duration: " << duration_.InMicroseconds()
81 << " size: " << size_ 81 << " size: " << size_
82 << " side_data_size: " << side_data_size_ 82 << " side_data_size: " << side_data_size_
83 << " encrypted: " << (decrypt_config_ != NULL); 83 << " encrypted: " << (decrypt_config_ != NULL)
84 << " discard_padding (ms): " << discard_padding_.InMilliseconds();
84 return s.str(); 85 return s.str();
85 } 86 }
86 87
87 } // namespace media 88 } // namespace media
OLDNEW
« no previous file with comments | « media/base/decoder_buffer.h ('k') | media/base/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698