diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-10 05:36:15 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-10 05:36:15 +0000 |
commit | 9a720bb8defd2f776550d290e118b952fd1caeb4 (patch) | |
tree | a2775bd9765e50aca620c14327bc5da1c40efd92 /media | |
parent | 685836bbb4799a9333821b431a7535b29391bd2e (diff) | |
download | chromium_src-9a720bb8defd2f776550d290e118b952fd1caeb4.zip chromium_src-9a720bb8defd2f776550d290e118b952fd1caeb4.tar.gz chromium_src-9a720bb8defd2f776550d290e118b952fd1caeb4.tar.bz2 |
Add more logging in DecryptingAudioDecoder.
TBR=ddorwin@chromium.org
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11358193
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167063 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/filters/decrypting_audio_decoder.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/media/filters/decrypting_audio_decoder.cc b/media/filters/decrypting_audio_decoder.cc index fd5cd0d..f5adcb9 100644 --- a/media/filters/decrypting_audio_decoder.cc +++ b/media/filters/decrypting_audio_decoder.cc @@ -434,8 +434,10 @@ void DecryptingAudioDecoder::EnqueueFrames( base::TimeDelta cur_timestamp = output_timestamp_base_ + NumberOfSamplesToDuration(total_samples_decoded_); if (IsOutOfSync(cur_timestamp, frame->GetTimestamp())) { - DVLOG(1) << "Timestamp returned by the decoder does not match the input " - << "timestamp and number of samples decoded."; + DVLOG(1) << "Timestamp returned by the decoder (" + << frame->GetTimestamp().InMilliseconds() << " ms)" + << " does not match the input timestamp and number of samples" + << " decoded (" << cur_timestamp.InMilliseconds() << " ms)."; } frame->SetTimestamp(cur_timestamp); |