aboutsummaryrefslogtreecommitdiffstats
path: root/components/media/media_thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/media/media_thread.rs')
-rw-r--r--components/media/media_thread.rs14
1 files changed, 8 insertions, 6 deletions
diff --git a/components/media/media_thread.rs b/components/media/media_thread.rs
index 482762cf607..c6cf45dbe2d 100644
--- a/components/media/media_thread.rs
+++ b/components/media/media_thread.rs
@@ -2,17 +2,19 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
-use crate::media_channel::{glplayer_channel, GLPlayerSender};
-/// GL player threading API entry point that lives in the
-/// constellation.
-use crate::{GLPlayerMsg, GLPlayerMsgForward};
-use fnv::FnvHashMap;
-use log::{trace, warn};
use std::sync::{Arc, Mutex};
use std::thread;
+
+use fnv::FnvHashMap;
+use log::{trace, warn};
use webrender_api::ExternalImageId;
use webrender_traits::{WebrenderExternalImageRegistry, WebrenderImageHandlerType};
+use crate::media_channel::{glplayer_channel, GLPlayerSender};
+/// GL player threading API entry point that lives in the
+/// constellation.
+use crate::{GLPlayerMsg, GLPlayerMsgForward};
+
/// A GLPlayerThread manages the life cycle and message demultiplexing of
/// a set of video players with GL render.
pub struct GLPlayerThread {