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

Unified Diff: content/renderer/media/render_audiosourceprovider.cc

Issue 10084022: Fix crash when changing sources after createMediaSourceElement(). (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years, 8 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: content/renderer/media/render_audiosourceprovider.cc
diff --git a/content/renderer/media/render_audiosourceprovider.cc b/content/renderer/media/render_audiosourceprovider.cc
index 1144b525ac1768835df512e435e3b4055c6ed48c..81f99ce7429738facccf38d05f4b52523983d2f0 100644
--- a/content/renderer/media/render_audiosourceprovider.cc
+++ b/content/renderer/media/render_audiosourceprovider.cc
@@ -105,7 +105,7 @@ void RenderAudioSourceProvider::setClient(
if (client && client != client_) {
// Detach the audio renderer from normal playback.
- default_sink_->Pause(true);
+ default_sink_->Stop();
// The client will now take control by calling provideInput() periodically.
client_ = client;
« 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