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

Unified Diff: webrtc/modules/audio_coding/main/acm2/codec_owner.cc

Issue 1313073008: On FATAL, log which unsupported encoder the caller wanted us to create (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 4 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: webrtc/modules/audio_coding/main/acm2/codec_owner.cc
diff --git a/webrtc/modules/audio_coding/main/acm2/codec_owner.cc b/webrtc/modules/audio_coding/main/acm2/codec_owner.cc
index ed23e10b563f6f0b02e940db3083a719b1b2fe39..2f7228bf713b6c55a085804d6dadd8f3a1380946 100644
--- a/webrtc/modules/audio_coding/main/acm2/codec_owner.cc
+++ b/webrtc/modules/audio_coding/main/acm2/codec_owner.cc
@@ -127,7 +127,7 @@ rtc::scoped_ptr<AudioEncoderMutable> CreateSpeechEncoder(
} else if (IsG722(speech_inst)) {
return rtc_make_scoped_ptr(new AudioEncoderMutableG722(speech_inst));
} else {
- FATAL();
+ FATAL() << "Could not create encoder of type " << speech_inst.plname;
return rtc::scoped_ptr<AudioEncoderMutable>();
}
}
« 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