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

Unified Diff: chrome/renderer/media/cast_receiver_session.cc

Issue 1304173002: Log error instead of CHECKing input audio sequence. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review. 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 | « chrome/renderer/media/cast_receiver_audio_valve.cc ('k') | content/renderer/media/webrtc_audio_capturer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_receiver_session.cc
diff --git a/chrome/renderer/media/cast_receiver_session.cc b/chrome/renderer/media/cast_receiver_session.cc
index 404fb035a9279388cf45de23c4256fc732cf6159..bdf31a97812cc0ccd326b996b51349792993ec91 100644
--- a/chrome/renderer/media/cast_receiver_session.cc
+++ b/chrome/renderer/media/cast_receiver_session.cc
@@ -176,7 +176,7 @@ void CastReceiverSession::AudioCapturerSource::Initialize(
if (params.sample_rate() !=
cast_receiver_session_->audio_config_.rtp_timebase ||
params.channels() != cast_receiver_session_->audio_config_.channels) {
- callback->OnCaptureError();
+ callback->OnCaptureError(std::string());
return;
}
audio_valve_ = new CastReceiverAudioValve(callback);
« no previous file with comments | « chrome/renderer/media/cast_receiver_audio_valve.cc ('k') | content/renderer/media/webrtc_audio_capturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698