Backed out changeset b1b50935ab45 (bug 1249313) for for making Bug 1207431 worse
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Tue, 01 Mar 2016 11:21:55 +0100
changeset 286000 e153836569007d614aa6b2260f30f0e8994e69e4
parent 285999 9da51cb4974e03cdd8fa45a34086fe1033abfeaf
child 286050 8ef94be995a453f5c464278c53478ba8c8554f81
push id30037
push usercbook@mozilla.com
push dateTue, 01 Mar 2016 10:22:18 +0000
treeherdermozilla-central@e15383656900 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1249313, 1207431
milestone47.0a1
backs outb1b50935ab45f360774e75a4d814b2f9bf02d916
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
Backed out changeset b1b50935ab45 (bug 1249313) for for making Bug 1207431 worse
dom/media/webrtc/MediaEngineRemoteVideoSource.cpp
--- a/dom/media/webrtc/MediaEngineRemoteVideoSource.cpp
+++ b/dom/media/webrtc/MediaEngineRemoteVideoSource.cpp
@@ -85,16 +85,18 @@ MediaEngineRemoteVideoSource::Shutdown()
     }
     MOZ_ASSERT(mState == kStopped);
   }
 
   if (mState == kAllocated || mState == kStopped) {
     Deallocate();
   }
 
+  mozilla::camera::Shutdown();
+
   mState = kReleased;
   mInitDone = false;
   return;
 }
 
 nsresult
 MediaEngineRemoteVideoSource::Allocate(const dom::MediaTrackConstraints& aConstraints,
                                        const MediaEnginePrefs& aPrefs,