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 /tutorial/src | |
parent | aa354058f58ab33ac838ff90e6c8b852b97fd320 (diff) |
Update for the subclassing glib/gstreamer bindings API changes
Diffstat (limited to 'tutorial/src')
-rw-r--r-- | tutorial/src/identity/imp.rs | 1 | ||||
-rw-r--r-- | tutorial/src/progressbin/imp.rs | 1 | ||||
-rw-r--r-- | tutorial/src/rgb2gray/imp.rs | 1 | ||||
-rw-r--r-- | tutorial/src/sinesrc/imp.rs | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/tutorial/src/identity/imp.rs b/tutorial/src/identity/imp.rs index cddb491a1..2d58f9a51 100644 --- a/tutorial/src/identity/imp.rs +++ b/tutorial/src/identity/imp.rs @@ -118,7 +118,6 @@ impl ObjectSubclass for Identity { const NAME: &'static str = "RsIdentity"; type Type = super::Identity; type ParentType = gst::Element; - type Instance = gst::subclass::ElementInstanceStruct<Self>; // Called when a new instance is to be created. We need to return an instance // of our struct here and also get the class struct passed in case it's needed diff --git a/tutorial/src/progressbin/imp.rs b/tutorial/src/progressbin/imp.rs index 9499147bc..428d14243 100644 --- a/tutorial/src/progressbin/imp.rs +++ b/tutorial/src/progressbin/imp.rs @@ -48,7 +48,6 @@ impl ObjectSubclass for ProgressBin { const NAME: &'static str = "RsProgressBin"; type Type = super::ProgressBin; type ParentType = gst::Bin; - type Instance = gst::subclass::ElementInstanceStruct<Self>; // Called when a new instance is to be created. We need to return an instance // of our struct here and also get the class struct passed in case it's needed diff --git a/tutorial/src/rgb2gray/imp.rs b/tutorial/src/rgb2gray/imp.rs index db4ac16dd..ea5b58a37 100644 --- a/tutorial/src/rgb2gray/imp.rs +++ b/tutorial/src/rgb2gray/imp.rs @@ -95,7 +95,6 @@ impl ObjectSubclass for Rgb2Gray { const NAME: &'static str = "RsRgb2Gray"; type Type = super::Rgb2Gray; type ParentType = gst_base::BaseTransform; - type Instance = gst::subclass::ElementInstanceStruct<Self>; } // Implementation of glib::Object virtual methods diff --git a/tutorial/src/sinesrc/imp.rs b/tutorial/src/sinesrc/imp.rs index 90bb1812c..ceb73e278 100644 --- a/tutorial/src/sinesrc/imp.rs +++ b/tutorial/src/sinesrc/imp.rs @@ -158,7 +158,6 @@ impl ObjectSubclass for SineSrc { const NAME: &'static str = "RsSineSrc"; type Type = super::SineSrc; type ParentType = gst_base::PushSrc; - type Instance = gst::subclass::ElementInstanceStruct<Self>; } // Implementation of glib::Object virtual methods |