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

Unified Diff: media/filters/ffmpeg_video_decoder.cc

Issue 2771983006: Log AVERROR messages from FFmpegDemuxer in chrome://media-internals. (Closed)
Patch Set: Update FFmpegVideoDecoder log message format to match. 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/filters/ffmpeg_demuxer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_video_decoder.cc
diff --git a/media/filters/ffmpeg_video_decoder.cc b/media/filters/ffmpeg_video_decoder.cc
index ad30943d1d0284fc6d0c4946bd20643b7673d226..c6541e65fe8d2585ef0c794ab6a17f1d2f901f3f 100644
--- a/media/filters/ffmpeg_video_decoder.cc
+++ b/media/filters/ffmpeg_video_decoder.cc
@@ -362,7 +362,8 @@ bool FFmpegVideoDecoder::FFmpegDecode(
// Log the problem if we can't decode a video frame and exit early.
if (result < 0) {
MEDIA_LOG(DEBUG, media_log_)
- << "avcodec_decode_video2(): " << AVErrorToString(result) << ", at "
+ << GetDisplayName()
+ << ": avcodec_decode_video2(): " << AVErrorToString(result) << ", at "
<< buffer->AsHumanReadableString();
return false;
}
« no previous file with comments | « media/filters/ffmpeg_demuxer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698