Bug 1312332 - Use stopVideo as intended. r=jib

MozReview-Commit-ID: JreGgjDwfam

--HG--
extra : rebase_source : 3bcf591250ea92e245446ddb2c34a937afd63939
This commit is contained in:
Andreas Pehrson 2016-10-24 08:01:41 +02:00
parent 29f62bce5f
commit 0c1268b303

View File

@ -3628,7 +3628,7 @@ GetUserMediaCallbackMediaStreamListener::NotifyChromeOfTrackStops()
"If there's a pending stop for video, there must be a video device");
if ((stopAudio || mAudioStopped || !mAudioDevice) &&
(stopAudio || mVideoStopped || !mVideoDevice)) {
(stopVideo || mVideoStopped || !mVideoDevice)) {
// All tracks stopped.
Stop();
return;