Bug 799191: incorrect audioCount in GetUserMediaDevicesRunnable r=derf

This commit is contained in:
Randell Jesup 2012-10-09 17:56:22 -04:00
parent c8faba8fe1
commit d7cb56991b

View File

@ -554,7 +554,7 @@ public:
nsTArray<nsRefPtr<MediaEngineAudioSource> > audioSources;
manager->GetBackend()->EnumerateAudioDevices(&audioSources);
audioCount = videoSources.Length();
audioCount = audioSources.Length();
nsTArray<nsCOMPtr<nsIMediaDevice> > *devices =
new nsTArray<nsCOMPtr<nsIMediaDevice> >;