diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-03-09 16:51:37 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-03-09 18:07:13 +0300 |
commit | 2cada57efc92cb4201d999fd214ad9665313c188 (patch) | |
tree | 3b3db433d57732dd23dac095438270aef73411d9 /generic | |
parent | aa354058f58ab33ac838ff90e6c8b852b97fd320 (diff) |
Update for the subclassing glib/gstreamer bindings API changes
Diffstat (limited to 'generic')
-rw-r--r-- | generic/file/src/filesink/imp.rs | 1 | ||||
-rw-r--r-- | generic/file/src/filesrc/imp.rs | 1 | ||||
-rw-r--r-- | generic/sodium/src/decrypter/imp.rs | 1 | ||||
-rw-r--r-- | generic/sodium/src/encrypter/imp.rs | 1 | ||||
-rw-r--r-- | generic/threadshare/src/appsrc/imp.rs | 1 | ||||
-rw-r--r-- | generic/threadshare/src/inputselector/imp.rs | 1 | ||||
-rw-r--r-- | generic/threadshare/src/jitterbuffer/imp.rs | 1 | ||||
-rw-r--r-- | generic/threadshare/src/proxy/imp.rs | 2 | ||||
-rw-r--r-- | generic/threadshare/src/queue/imp.rs | 1 | ||||
-rw-r--r-- | generic/threadshare/src/tcpclientsrc/imp.rs | 1 | ||||
-rw-r--r-- | generic/threadshare/src/udpsink/imp.rs | 1 | ||||
-rw-r--r-- | generic/threadshare/src/udpsrc/imp.rs | 1 | ||||
-rw-r--r-- | generic/threadshare/tests/pad.rs | 2 |
13 files changed, 0 insertions, 15 deletions
diff --git a/generic/file/src/filesink/imp.rs b/generic/file/src/filesink/imp.rs index 87eff33c5..05253cf95 100644 --- a/generic/file/src/filesink/imp.rs +++ b/generic/file/src/filesink/imp.rs @@ -112,7 +112,6 @@ impl ObjectSubclass for FileSink { type Type = super::FileSink; type ParentType = gst_base::BaseSink; type Interfaces = (gst::URIHandler,); - type Instance = gst::subclass::ElementInstanceStruct<Self>; } impl ObjectImpl for FileSink { diff --git a/generic/file/src/filesrc/imp.rs b/generic/file/src/filesrc/imp.rs index 1abdd88ec..4a7e11720 100644 --- a/generic/file/src/filesrc/imp.rs +++ b/generic/file/src/filesrc/imp.rs @@ -126,7 +126,6 @@ impl ObjectSubclass for FileSrc { type Type = super::FileSrc; type ParentType = gst_base::BaseSrc; type Interfaces = (gst::URIHandler,); - type Instance = gst::subclass::ElementInstanceStruct<Self>; } impl ObjectImpl for FileSrc { diff --git a/generic/sodium/src/decrypter/imp.rs b/generic/sodium/src/decrypter/imp.rs index adc9896d9..c5c5bda7b 100644 --- a/generic/sodium/src/decrypter/imp.rs +++ b/generic/sodium/src/decrypter/imp.rs @@ -549,7 +549,6 @@ impl ObjectSubclass for Decrypter { const NAME: &'static str = "RsSodiumDecryptor"; type Type = super::Decrypter; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { let templ = klass.get_pad_template("sink").unwrap(); diff --git a/generic/sodium/src/encrypter/imp.rs b/generic/sodium/src/encrypter/imp.rs index a2c7a9dfc..a53f6fc71 100644 --- a/generic/sodium/src/encrypter/imp.rs +++ b/generic/sodium/src/encrypter/imp.rs @@ -339,7 +339,6 @@ impl ObjectSubclass for Encrypter { const NAME: &'static str = "RsSodiumEncrypter"; type Type = super::Encrypter; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { let templ = klass.get_pad_template("sink").unwrap(); diff --git a/generic/threadshare/src/appsrc/imp.rs b/generic/threadshare/src/appsrc/imp.rs index c44c659d7..ba4596593 100644 --- a/generic/threadshare/src/appsrc/imp.rs +++ b/generic/threadshare/src/appsrc/imp.rs @@ -508,7 +508,6 @@ impl ObjectSubclass for AppSrc { const NAME: &'static str = "RsTsAppSrc"; type Type = super::AppSrc; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { let src_pad_handler = AppSrcPadHandler::default(); diff --git a/generic/threadshare/src/inputselector/imp.rs b/generic/threadshare/src/inputselector/imp.rs index c625886c3..c3016a5c9 100644 --- a/generic/threadshare/src/inputselector/imp.rs +++ b/generic/threadshare/src/inputselector/imp.rs @@ -395,7 +395,6 @@ impl ObjectSubclass for InputSelector { const NAME: &'static str = "RsTsInputSelector"; type Type = super::InputSelector; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { Self { diff --git a/generic/threadshare/src/jitterbuffer/imp.rs b/generic/threadshare/src/jitterbuffer/imp.rs index 1c679ea62..c3e3eda8c 100644 --- a/generic/threadshare/src/jitterbuffer/imp.rs +++ b/generic/threadshare/src/jitterbuffer/imp.rs @@ -1339,7 +1339,6 @@ impl ObjectSubclass for JitterBuffer { const NAME: &'static str = "RsTsJitterBuffer"; type Type = super::JitterBuffer; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { let sink_pad_handler = SinkHandler::default(); diff --git a/generic/threadshare/src/proxy/imp.rs b/generic/threadshare/src/proxy/imp.rs index 15e5e1ba6..2eeb73262 100644 --- a/generic/threadshare/src/proxy/imp.rs +++ b/generic/threadshare/src/proxy/imp.rs @@ -576,7 +576,6 @@ impl ObjectSubclass for ProxySink { const NAME: &'static str = "RsTsProxySink"; type Type = super::ProxySink; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { Self { @@ -1114,7 +1113,6 @@ impl ObjectSubclass for ProxySrc { const NAME: &'static str = "RsTsProxySrc"; type Type = super::ProxySrc; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { Self { diff --git a/generic/threadshare/src/queue/imp.rs b/generic/threadshare/src/queue/imp.rs index 3426b3c65..ba3c0ae2a 100644 --- a/generic/threadshare/src/queue/imp.rs +++ b/generic/threadshare/src/queue/imp.rs @@ -696,7 +696,6 @@ impl ObjectSubclass for Queue { const NAME: &'static str = "RsTsQueue"; type Type = super::Queue; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { Self { diff --git a/generic/threadshare/src/tcpclientsrc/imp.rs b/generic/threadshare/src/tcpclientsrc/imp.rs index 331dbaa7e..b0d4999d8 100644 --- a/generic/threadshare/src/tcpclientsrc/imp.rs +++ b/generic/threadshare/src/tcpclientsrc/imp.rs @@ -549,7 +549,6 @@ impl ObjectSubclass for TcpClientSrc { const NAME: &'static str = "RsTsTcpClientSrc"; type Type = super::TcpClientSrc; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { let src_pad_handler = TcpClientSrcPadHandler::default(); diff --git a/generic/threadshare/src/udpsink/imp.rs b/generic/threadshare/src/udpsink/imp.rs index 477f27b84..12caf91ea 100644 --- a/generic/threadshare/src/udpsink/imp.rs +++ b/generic/threadshare/src/udpsink/imp.rs @@ -948,7 +948,6 @@ impl ObjectSubclass for UdpSink { const NAME: &'static str = "RsTsUdpSink"; type Type = super::UdpSink; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { let settings = Arc::new(StdMutex::new(Settings::default())); diff --git a/generic/threadshare/src/udpsrc/imp.rs b/generic/threadshare/src/udpsrc/imp.rs index 07e9d1362..442a00fcb 100644 --- a/generic/threadshare/src/udpsrc/imp.rs +++ b/generic/threadshare/src/udpsrc/imp.rs @@ -690,7 +690,6 @@ impl ObjectSubclass for UdpSrc { const NAME: &'static str = "RsTsUdpSrc"; type Type = super::UdpSrc; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { let src_pad_handler = UdpSrcPadHandler::default(); diff --git a/generic/threadshare/tests/pad.rs b/generic/threadshare/tests/pad.rs index 65f27957a..f4b949bba 100644 --- a/generic/threadshare/tests/pad.rs +++ b/generic/threadshare/tests/pad.rs @@ -306,7 +306,6 @@ mod imp_src { const NAME: &'static str = "TsElementSrcTest"; type Type = super::ElementSrcTest; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { ElementSrcTest { @@ -638,7 +637,6 @@ mod imp_sink { const NAME: &'static str = "TsElementSinkTest"; type Type = super::ElementSinkTest; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; fn with_class(klass: &Self::Class) -> Self { ElementSinkTest { |