mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1312332 - Use stopVideo as intended. r=jib
MozReview-Commit-ID: JreGgjDwfam --HG-- extra : rebase_source : 3bcf591250ea92e245446ddb2c34a937afd63939
This commit is contained in:
parent
29f62bce5f
commit
0c1268b303
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user