diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-11 22:24:25 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-11 22:24:25 +0000 |
commit | d41092a391c2f636246af02d93fded3b0463fd88 (patch) | |
tree | 83127657826d274ae49d7d7bce7ed62ba35a61f7 /media | |
parent | 1028f9e4baced69dad7e466281d876f0440bf3f4 (diff) | |
download | chromium_src-d41092a391c2f636246af02d93fded3b0463fd88.zip chromium_src-d41092a391c2f636246af02d93fded3b0463fd88.tar.gz chromium_src-d41092a391c2f636246af02d93fded3b0463fd88.tar.bz2 |
Add profile and extra_data info in VideoDecoderConfig::AsHumanReadableString.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11087081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161422 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/base/video_decoder_config.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media/base/video_decoder_config.cc b/media/base/video_decoder_config.cc index 6523f5d..a42808fc 100644 --- a/media/base/video_decoder_config.cc +++ b/media/base/video_decoder_config.cc @@ -134,6 +134,7 @@ std::string VideoDecoderConfig::AsHumanReadableString() const { std::ostringstream s; s << "codec: " << codec() << " format: " << format() + << " profile: " << profile() << " coded size: [" << coded_size().width() << "," << coded_size().height() << "]" << " visible rect: [" << visible_rect().x() @@ -142,7 +143,8 @@ std::string VideoDecoderConfig::AsHumanReadableString() const { << "," << visible_rect().height() << "]" << " natural size: [" << natural_size().width() << "," << natural_size().height() << "]" - << " encryption: [" << (is_encrypted() ? "true" : "false") << "]"; + << " has extra data? " << (extra_data() ? "true" : "false") + << " encrypted? " << (is_encrypted() ? "true" : "false"); return s.str(); } |