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

Unified Diff: media/filters/ffmpeg_audio_decoder.cc

Issue 293883002: Add MEDIA_LOG for failed audio packet decoding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_audio_decoder.cc
diff --git a/media/filters/ffmpeg_audio_decoder.cc b/media/filters/ffmpeg_audio_decoder.cc
index 00832a05abf048953b45fce0b040667b3ded9679..cd988ed7d90f8d503d3dee0694ef44b526bc25b6 100644
--- a/media/filters/ffmpeg_audio_decoder.cc
+++ b/media/filters/ffmpeg_audio_decoder.cc
@@ -327,8 +327,8 @@ bool FFmpegAudioDecoder::FFmpegDecode(
<< "This is quite possibly a bug in the audio decoder not handling "
<< "end of stream AVPackets correctly.";
- DLOG(WARNING)
- << "Failed to decode an audio frame with timestamp: "
+ MEDIA_LOG(log_cb_)
+ << "Dropping audio frame which failed decode with timestamp: "
<< buffer->timestamp().InMicroseconds() << " us, duration: "
<< buffer->duration().InMicroseconds() << " us, packet size: "
<< buffer->data_size() << " bytes";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698