Bug 1189506. Remove usage of FLAG_BLOCK_OUTPUT from MediaManager. r=jesup
authorRobert O'Callahan <robert@ocallahan.org>
Fri, 04 Sep 2015 16:39:37 +1200
changeset 295492 90258efcf37f787976ffabf6c924b36e3dae05a0
parent 295491 2624ea64e7ab556386c4ad081f49e85a42961c84
child 295493 d6361921977c6013db34d4127d7939421b936e58
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup
bugs1189506
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1189506. Remove usage of FLAG_BLOCK_OUTPUT from MediaManager. r=jesup
dom/media/MediaManager.cpp
--- a/dom/media/MediaManager.cpp
+++ b/dom/media/MediaManager.cpp
@@ -812,17 +812,17 @@ public:
       // Normal case, connect the source stream to the track union stream to
       // avoid us blocking
       nsRefPtr<nsDOMUserMediaStream> trackunion =
         nsDOMUserMediaStream::CreateTrackUnionStream(window, mListener,
                                                      mAudioSource, mVideoSource,
                                                      msg);
       trackunion->GetStream()->AsProcessedStream()->SetAutofinish(true);
       nsRefPtr<MediaInputPort> port = trackunion->GetStream()->AsProcessedStream()->
-        AllocateInputPort(stream, MediaInputPort::FLAG_BLOCK_OUTPUT);
+        AllocateInputPort(stream, 0);
       trackunion->mSourceStream = stream;
       trackunion->mPort = port.forget();
       // Log the relationship between SourceMediaStream and TrackUnion stream
       // Make sure logger starts before capture
       AsyncLatencyLogger::Get(true);
       LogLatency(AsyncLatencyLogger::MediaStreamCreate,
           reinterpret_cast<uint64_t>(stream.get()),
           reinterpret_cast<int64_t>(trackunion->GetStream()));