зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
038273c4ff
Коммит
36eb10078c
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче