Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Dröge <sebastian@centricular.com>
  • Loading branch information
sagudev and sdroege authored Feb 29, 2024
1 parent 227576b commit f5624fa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions backends/gstreamer/datachannel.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use glib::object::ObjectExt;
use glib::value::ToSendValue;
use glib::prelude::*;
use gst_webrtc::{WebRTCDataChannel, WebRTCDataChannelState};
use servo_media_webrtc::thread::InternalEvent;
use servo_media_webrtc::WebRtcController as WebRtcThread;
Expand Down
3 changes: 1 addition & 2 deletions backends/gstreamer/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ use ipc_channel::ipc::IpcSender;
use log::warn;
use media_stream::GStreamerMediaStream;
use mime::Mime;
use once_cell::sync::Lazy;
use once_cell::sync::OnceCell;
use once_cell::sync::{Lazy, OnceCell};
use registry_scanner::GSTREAMER_REGISTRY_SCANNER;
use servo_media::{Backend, BackendInit, SupportsMediaType};
use servo_media_audio::context::{AudioContext, AudioContextOptions};
Expand Down
1 change: 0 additions & 1 deletion backends/gstreamer/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ mod imp {

let pad_templ = klass.pad_template("src").unwrap();
let ghost_pad = gst::GhostPad::builder_from_template(&pad_templ)
.name("src")
.query_function(|pad, parent, query| {
ServoSrc::catch_panic_pad_function(
parent,
Expand Down

0 comments on commit f5624fa

Please sign in to comment.