-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device monitor #368
Device monitor #368
Conversation
backends/gstreamer/lib.rs
Outdated
@@ -1,4 +1,6 @@ | |||
#![feature(nll)] | |||
|
|||
extern crate atomic_refcell; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary import
impl MediaDeviceMonitor for GStreamerDeviceMonitor { | ||
fn enumerate_devices(&self) -> Result<Vec<MediaDeviceInfo>, ()> { | ||
{ | ||
if let Some(ref devices) = *self.devices.borrow() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should probably file a followup about the devices changing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
though it's not that important, actually, sicne we don't use this cache in servo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me
@bors-servo r=Manishearth |
📌 Commit d298df9 has been approved by |
☀️ Test successful - checks-travis |
This is required for https://github.com/servo/servo/pull/27152/files