mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Remove gecko-media dependency
This commit is contained in:
parent
671b69c0b7
commit
f46fbe4599
12 changed files with 72 additions and 252 deletions
|
@ -108,8 +108,6 @@ use debugger;
|
|||
use devtools_traits::{ChromeToDevtoolsControlMsg, DevtoolsControlMsg};
|
||||
use euclid::{Size2D, TypedSize2D, TypedScale};
|
||||
use event_loop::EventLoop;
|
||||
#[cfg(all(any(target_os = "macos", target_os = "linux"), not(any(target_arch = "arm", target_arch = "aarch64"))))]
|
||||
use gecko_media::GeckoMedia;
|
||||
use gfx::font_cache_thread::FontCacheThread;
|
||||
use gfx_traits::Epoch;
|
||||
use ipc_channel::{Error as IpcError};
|
||||
|
@ -1483,16 +1481,6 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
|
|||
|
||||
debug!("Asking compositor to complete shutdown.");
|
||||
self.compositor_proxy.send(ToCompositorMsg::ShutdownComplete);
|
||||
|
||||
#[cfg(all(
|
||||
any(target_os = "macos", target_os = "linux"),
|
||||
not(any(target_arch = "arm", target_arch = "aarch64")),
|
||||
))]
|
||||
{
|
||||
if let Err(()) = GeckoMedia::shutdown() {
|
||||
warn!("Media stack shutdown failed.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn handle_pipeline_exited(&mut self, pipeline_id: PipelineId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue