forked from mirrors/gstreamer-rs
Remove various unused use statements
This commit is contained in:
parent
6bba3d8518
commit
36bcb5630a
10 changed files with 8 additions and 17 deletions
|
@ -13,8 +13,7 @@ use gst;
|
||||||
use gst::miniobject::*;
|
use gst::miniobject::*;
|
||||||
|
|
||||||
use glib;
|
use glib;
|
||||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr};
|
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib};
|
||||||
use glib_ffi;
|
|
||||||
|
|
||||||
gst_define_mini_object_wrapper!(
|
gst_define_mini_object_wrapper!(
|
||||||
VideoOverlayRectangle,
|
VideoOverlayRectangle,
|
||||||
|
|
|
@ -22,7 +22,7 @@ use ClockTime;
|
||||||
|
|
||||||
use ffi;
|
use ffi;
|
||||||
use glib;
|
use glib;
|
||||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, FromGlib, ToGlib, ToGlibPtr};
|
use glib::translate::{from_glib, from_glib_full, FromGlib, ToGlib};
|
||||||
use glib_ffi;
|
use glib_ffi;
|
||||||
|
|
||||||
pub enum Readable {}
|
pub enum Readable {}
|
||||||
|
|
|
@ -8,8 +8,7 @@
|
||||||
|
|
||||||
use ffi;
|
use ffi;
|
||||||
use glib;
|
use glib;
|
||||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlibPtr};
|
use glib::translate::from_glib_full;
|
||||||
use glib_ffi;
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
use miniobject::*;
|
use miniobject::*;
|
||||||
|
|
|
@ -17,9 +17,8 @@ use CapsIntersectMode;
|
||||||
|
|
||||||
use ffi;
|
use ffi;
|
||||||
use glib;
|
use glib;
|
||||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr};
|
use glib::translate::{from_glib, from_glib_full, ToGlib, ToGlibPtr};
|
||||||
use glib::value::ToSendValue;
|
use glib::value::ToSendValue;
|
||||||
use glib_ffi;
|
|
||||||
|
|
||||||
gst_define_mini_object_wrapper!(Caps, CapsRef, ffi::GstCaps, [Debug, PartialEq, Eq,], || {
|
gst_define_mini_object_wrapper!(Caps, CapsRef, ffi::GstCaps, [Debug, PartialEq, Eq,], || {
|
||||||
ffi::gst_caps_get_type()
|
ffi::gst_caps_get_type()
|
||||||
|
|
|
@ -12,8 +12,7 @@ use std::fmt;
|
||||||
use ffi;
|
use ffi;
|
||||||
|
|
||||||
use glib;
|
use glib;
|
||||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr};
|
use glib::translate::{from_glib, from_glib_full, ToGlib, ToGlibPtr};
|
||||||
use glib_ffi;
|
|
||||||
|
|
||||||
use miniobject::*;
|
use miniobject::*;
|
||||||
use StructureRef;
|
use StructureRef;
|
||||||
|
|
|
@ -19,9 +19,8 @@ use std::ops::Deref;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
use glib;
|
use glib;
|
||||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, FromGlib, ToGlib, ToGlibPtr};
|
use glib::translate::{from_glib, from_glib_full, FromGlib, ToGlib, ToGlibPtr};
|
||||||
use glib::value::ToSendValue;
|
use glib::value::ToSendValue;
|
||||||
use glib_ffi;
|
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
use glib::translate::FromGlibPtrContainer;
|
use glib::translate::FromGlibPtrContainer;
|
||||||
|
|
|
@ -27,7 +27,6 @@ use glib::translate::{from_glib, from_glib_full, from_glib_none, mut_override, T
|
||||||
use glib::value::ToSendValue;
|
use glib::value::ToSendValue;
|
||||||
use glib::Cast;
|
use glib::Cast;
|
||||||
use glib::IsA;
|
use glib::IsA;
|
||||||
use glib_ffi;
|
|
||||||
|
|
||||||
gst_define_mini_object_wrapper!(Message, MessageRef, ffi::GstMessage, [Debug,], || {
|
gst_define_mini_object_wrapper!(Message, MessageRef, ffi::GstMessage, [Debug,], || {
|
||||||
ffi::gst_message_get_type()
|
ffi::gst_message_get_type()
|
||||||
|
|
|
@ -12,8 +12,7 @@ use std::ptr;
|
||||||
use ffi;
|
use ffi;
|
||||||
|
|
||||||
use glib;
|
use glib;
|
||||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, mut_override, ToGlibPtr};
|
use glib::translate::{from_glib_full, from_glib_none, mut_override, ToGlibPtr};
|
||||||
use glib_ffi;
|
|
||||||
|
|
||||||
use miniobject::*;
|
use miniobject::*;
|
||||||
use Buffer;
|
use Buffer;
|
||||||
|
|
|
@ -13,9 +13,8 @@ use std::mem;
|
||||||
|
|
||||||
use ffi;
|
use ffi;
|
||||||
use glib;
|
use glib;
|
||||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr, ToGlibPtrMut};
|
use glib::translate::{from_glib, from_glib_full, ToGlib, ToGlibPtr, ToGlibPtrMut};
|
||||||
use glib::value::{FromValueOptional, SendValue, SetValue, ToSendValue, TypedValue};
|
use glib::value::{FromValueOptional, SendValue, SetValue, ToSendValue, TypedValue};
|
||||||
use glib_ffi;
|
|
||||||
|
|
||||||
use miniobject::*;
|
use miniobject::*;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,6 @@ use glib;
|
||||||
use glib::translate::{
|
use glib::translate::{
|
||||||
from_glib, from_glib_full, from_glib_none, FromGlibPtrContainer, ToGlib, ToGlibPtr,
|
from_glib, from_glib_full, from_glib_none, FromGlibPtrContainer, ToGlib, ToGlibPtr,
|
||||||
};
|
};
|
||||||
use glib_ffi;
|
|
||||||
|
|
||||||
use miniobject::*;
|
use miniobject::*;
|
||||||
use TagList;
|
use TagList;
|
||||||
|
|
Loading…
Reference in a new issue