From bb8e7c3e8f8172f6c4a6d289e924c0caa9696f4a Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Sun, 15 Nov 2020 16:10:04 +0100 Subject: [PATCH] audio/video: Fix more unused imports TODO: How about use glib::translate::*;? --- gstreamer-audio/src/audio_format.rs | 3 ++- gstreamer-video/src/video_format.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gstreamer-audio/src/audio_format.rs b/gstreamer-audio/src/audio_format.rs index 2cdd6647c..f4fbf736b 100644 --- a/gstreamer-audio/src/audio_format.rs +++ b/gstreamer-audio/src/audio_format.rs @@ -9,7 +9,8 @@ use std::ffi::CStr; use std::str; -use glib::translate::{from_glib, FromGlib, ToGlib, ToGlibPtr}; +use glib::translate::{from_glib, ToGlib}; + use once_cell::sync::Lazy; #[cfg(feature = "v1_18")] diff --git a/gstreamer-video/src/video_format.rs b/gstreamer-video/src/video_format.rs index 7dbc190b1..1d71790e5 100644 --- a/gstreamer-video/src/video_format.rs +++ b/gstreamer-video/src/video_format.rs @@ -10,7 +10,7 @@ use once_cell::sync::Lazy; use std::ffi::CStr; use std::str; -use glib::translate::{from_glib, FromGlib, ToGlib, ToGlibPtr}; +use glib::translate::{from_glib, FromGlib, ToGlib}; #[cfg(feature = "v1_18")] pub static VIDEO_FORMATS_ALL: Lazy> = Lazy::new(|| unsafe {