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 /video | |
parent | aa354058f58ab33ac838ff90e6c8b852b97fd320 (diff) |
Update for the subclassing glib/gstreamer bindings API changes
Diffstat (limited to 'video')
-rw-r--r-- | video/cdg/src/cdgdec/imp.rs | 1 | ||||
-rw-r--r-- | video/cdg/src/cdgparse/imp.rs | 1 | ||||
-rw-r--r-- | video/closedcaption/src/ccdetect/imp.rs | 1 | ||||
-rw-r--r-- | video/closedcaption/src/cea608overlay/imp.rs | 1 | ||||
-rw-r--r-- | video/closedcaption/src/cea608tott/imp.rs | 1 | ||||
-rw-r--r-- | video/closedcaption/src/mcc_enc/imp.rs | 1 | ||||
-rw-r--r-- | video/closedcaption/src/mcc_parse/imp.rs | 1 | ||||
-rw-r--r-- | video/closedcaption/src/scc_enc/imp.rs | 1 | ||||
-rw-r--r-- | video/closedcaption/src/scc_parse/imp.rs | 1 | ||||
-rw-r--r-- | video/closedcaption/src/tttocea608/imp.rs | 1 | ||||
-rw-r--r-- | video/closedcaption/src/tttojson/imp.rs | 1 | ||||
-rw-r--r-- | video/dav1d/src/dav1ddec/imp.rs | 1 | ||||
-rw-r--r-- | video/flavors/src/flvdemux/imp.rs | 1 | ||||
-rw-r--r-- | video/gif/src/gifenc/imp.rs | 1 | ||||
-rw-r--r-- | video/hsv/src/hsvdetector/imp.rs | 1 | ||||
-rw-r--r-- | video/hsv/src/hsvfilter/imp.rs | 1 | ||||
-rw-r--r-- | video/rav1e/src/rav1enc/imp.rs | 1 | ||||
-rw-r--r-- | video/rspng/src/pngenc/imp.rs | 1 |
18 files changed, 0 insertions, 18 deletions
diff --git a/video/cdg/src/cdgdec/imp.rs b/video/cdg/src/cdgdec/imp.rs index 40cde0c62..110b57bc5 100644 --- a/video/cdg/src/cdgdec/imp.rs +++ b/video/cdg/src/cdgdec/imp.rs @@ -33,7 +33,6 @@ impl ObjectSubclass for CdgDec { const NAME: &'static str = "CdgDec"; type Type = super::CdgDec; type ParentType = gst_video::VideoDecoder; - type Instance = gst::subclass::ElementInstanceStruct<Self>; } impl ObjectImpl for CdgDec {} diff --git a/video/cdg/src/cdgparse/imp.rs b/video/cdg/src/cdgparse/imp.rs index 6aebb708d..65e7cef00 100644 --- a/video/cdg/src/cdgparse/imp.rs +++ b/video/cdg/src/cdgparse/imp.rs @@ -40,7 +40,6 @@ impl ObjectSubclass for CdgParse { const NAME: &'static str = "CdgParse"; type Type = super::CdgParse; type ParentType = gst_base::BaseParse; - type Instance = gst::subclass::ElementInstanceStruct<Self>; } impl ObjectImpl for CdgParse {} diff --git a/video/closedcaption/src/ccdetect/imp.rs b/video/closedcaption/src/ccdetect/imp.rs index da7cd8063..75b156760 100644 --- a/video/closedcaption/src/ccdetect/imp.rs +++ b/video/closedcaption/src/ccdetect/imp.rs @@ -219,7 +219,6 @@ impl ObjectSubclass for CCDetect { const NAME: &'static str = "CCDetect"; type Type = super::CCDetect; type ParentType = gst_base::BaseTransform; - type Instance = gst::subclass::ElementInstanceStruct<Self>; } impl ObjectImpl for CCDetect { diff --git a/video/closedcaption/src/cea608overlay/imp.rs b/video/closedcaption/src/cea608overlay/imp.rs index e9afe2701..0dfe28c3f 100644 --- a/video/closedcaption/src/cea608overlay/imp.rs +++ b/video/closedcaption/src/cea608overlay/imp.rs @@ -545,7 +545,6 @@ impl ObjectSubclass for Cea608Overlay { const NAME: &'static str = "RsCea608Overlay"; type Type = super::Cea608Overlay; 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/video/closedcaption/src/cea608tott/imp.rs b/video/closedcaption/src/cea608tott/imp.rs index 79e7f2592..1367b5165 100644 --- a/video/closedcaption/src/cea608tott/imp.rs +++ b/video/closedcaption/src/cea608tott/imp.rs @@ -375,7 +375,6 @@ impl ObjectSubclass for Cea608ToTt { const NAME: &'static str = "Cea608ToTt"; type Type = super::Cea608ToTt; 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/video/closedcaption/src/mcc_enc/imp.rs b/video/closedcaption/src/mcc_enc/imp.rs index 7aa4cf4ad..b822bbd27 100644 --- a/video/closedcaption/src/mcc_enc/imp.rs +++ b/video/closedcaption/src/mcc_enc/imp.rs @@ -449,7 +449,6 @@ impl ObjectSubclass for MccEnc { const NAME: &'static str = "RsMccEnc"; type Type = super::MccEnc; 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/video/closedcaption/src/mcc_parse/imp.rs b/video/closedcaption/src/mcc_parse/imp.rs index 691a2ae6c..fb3d07878 100644 --- a/video/closedcaption/src/mcc_parse/imp.rs +++ b/video/closedcaption/src/mcc_parse/imp.rs @@ -1122,7 +1122,6 @@ impl ObjectSubclass for MccParse { const NAME: &'static str = "RsMccParse"; type Type = super::MccParse; 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/video/closedcaption/src/scc_enc/imp.rs b/video/closedcaption/src/scc_enc/imp.rs index 8bb1a45b7..374c4a326 100644 --- a/video/closedcaption/src/scc_enc/imp.rs +++ b/video/closedcaption/src/scc_enc/imp.rs @@ -337,7 +337,6 @@ impl ObjectSubclass for SccEnc { const NAME: &'static str = "RsSccEnc"; type Type = super::SccEnc; 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/video/closedcaption/src/scc_parse/imp.rs b/video/closedcaption/src/scc_parse/imp.rs index eda5b663f..1c8872d2a 100644 --- a/video/closedcaption/src/scc_parse/imp.rs +++ b/video/closedcaption/src/scc_parse/imp.rs @@ -1002,7 +1002,6 @@ impl ObjectSubclass for SccParse { const NAME: &'static str = "RsSccParse"; type Type = super::SccParse; 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/video/closedcaption/src/tttocea608/imp.rs b/video/closedcaption/src/tttocea608/imp.rs index facb9a9db..4daf24e8b 100644 --- a/video/closedcaption/src/tttocea608/imp.rs +++ b/video/closedcaption/src/tttocea608/imp.rs @@ -979,7 +979,6 @@ impl ObjectSubclass for TtToCea608 { const NAME: &'static str = "TtToCea608"; type Type = super::TtToCea608; 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/video/closedcaption/src/tttojson/imp.rs b/video/closedcaption/src/tttojson/imp.rs index 76cac1c7e..d25fbf9ce 100644 --- a/video/closedcaption/src/tttojson/imp.rs +++ b/video/closedcaption/src/tttojson/imp.rs @@ -192,7 +192,6 @@ impl ObjectSubclass for TtToJson { const NAME: &'static str = "RsTtToJson"; type Type = super::TtToJson; 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/video/dav1d/src/dav1ddec/imp.rs b/video/dav1d/src/dav1ddec/imp.rs index b9b803ec7..af75b0a6b 100644 --- a/video/dav1d/src/dav1ddec/imp.rs +++ b/video/dav1d/src/dav1ddec/imp.rs @@ -351,7 +351,6 @@ impl ObjectSubclass for Dav1dDec { const NAME: &'static str = "RsDav1dDec"; type Type = super::Dav1dDec; type ParentType = gst_video::VideoDecoder; - type Instance = gst::subclass::ElementInstanceStruct<Self>; } impl ObjectImpl for Dav1dDec {} diff --git a/video/flavors/src/flvdemux/imp.rs b/video/flavors/src/flvdemux/imp.rs index 3e49765b6..662217af6 100644 --- a/video/flavors/src/flvdemux/imp.rs +++ b/video/flavors/src/flvdemux/imp.rs @@ -124,7 +124,6 @@ impl ObjectSubclass for FlvDemux { const NAME: &'static str = "RsFlvDemux"; type Type = super::FlvDemux; 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/video/gif/src/gifenc/imp.rs b/video/gif/src/gifenc/imp.rs index 0d949b353..7db670687 100644 --- a/video/gif/src/gifenc/imp.rs +++ b/video/gif/src/gifenc/imp.rs @@ -135,7 +135,6 @@ impl ObjectSubclass for GifEnc { const NAME: &'static str = "GifEnc"; type Type = super::GifEnc; type ParentType = gst_video::VideoEncoder; - type Instance = gst::subclass::ElementInstanceStruct<Self>; } impl ObjectImpl for GifEnc { diff --git a/video/hsv/src/hsvdetector/imp.rs b/video/hsv/src/hsvdetector/imp.rs index 445e0831c..805765d69 100644 --- a/video/hsv/src/hsvdetector/imp.rs +++ b/video/hsv/src/hsvdetector/imp.rs @@ -80,7 +80,6 @@ impl ObjectSubclass for HsvDetector { const NAME: &'static str = "HsvDetector"; type Type = super::HsvDetector; type ParentType = gst_base::BaseTransform; - type Instance = gst::subclass::ElementInstanceStruct<Self>; } impl ObjectImpl for HsvDetector { diff --git a/video/hsv/src/hsvfilter/imp.rs b/video/hsv/src/hsvfilter/imp.rs index 210705325..8759f8213 100644 --- a/video/hsv/src/hsvfilter/imp.rs +++ b/video/hsv/src/hsvfilter/imp.rs @@ -75,7 +75,6 @@ impl ObjectSubclass for HsvFilter { const NAME: &'static str = "HsvFilter"; type Type = super::HsvFilter; type ParentType = gst_base::BaseTransform; - type Instance = gst::subclass::ElementInstanceStruct<Self>; } impl ObjectImpl for HsvFilter { diff --git a/video/rav1e/src/rav1enc/imp.rs b/video/rav1e/src/rav1enc/imp.rs index 591812b16..e1a639c49 100644 --- a/video/rav1e/src/rav1enc/imp.rs +++ b/video/rav1e/src/rav1enc/imp.rs @@ -209,7 +209,6 @@ impl ObjectSubclass for Rav1Enc { const NAME: &'static str = "Rav1Enc"; type Type = super::Rav1Enc; type ParentType = gst_video::VideoEncoder; - type Instance = gst::subclass::ElementInstanceStruct<Self>; } impl ObjectImpl for Rav1Enc { diff --git a/video/rspng/src/pngenc/imp.rs b/video/rspng/src/pngenc/imp.rs index c89dfb948..9d90d65ab 100644 --- a/video/rspng/src/pngenc/imp.rs +++ b/video/rspng/src/pngenc/imp.rs @@ -170,7 +170,6 @@ impl ObjectSubclass for PngEncoder { const NAME: &'static str = "PngEncoder"; type Type = super::PngEncoder; type ParentType = gst_video::VideoEncoder; - type Instance = gst::subclass::ElementInstanceStruct<Self>; } impl ObjectImpl for PngEncoder { |