Bug 819916 Selecting "Share Microphone" or "Share Camera" picks the last item in the list rather than the first. r=jesup

This commit is contained in:
Mark Banner 2012-12-10 19:51:48 +00:00
parent 038273c4ff
commit 36eb10078c

View File

@ -487,6 +487,7 @@ public:
if (vSource->IsAvailable()) {
found = true;
mVideoDevice = new MediaDevice(videoSources[i]);
break;
}
}
@ -517,6 +518,7 @@ public:
if (aSource->IsAvailable()) {
found = true;
mAudioDevice = new MediaDevice(audioSources[i]);
break;
}
}