diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-10-23 11:57:31 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-10-23 12:31:33 +0300 |
commit | b9541b2ca43f8f8904e234199ec3c33f48fede94 (patch) | |
tree | 991b27e5c4adbfcfe994babe0afc40874b0a6d9c /video | |
parent | db30cfcc74247dbd9f33899215852d70948e759a (diff) |
Update for GstObjectImpl API change
Diffstat (limited to 'video')
24 files changed, 48 insertions, 0 deletions
diff --git a/video/cdg/src/cdgdec/imp.rs b/video/cdg/src/cdgdec/imp.rs index fe80b6cc3..e096b830b 100644 --- a/video/cdg/src/cdgdec/imp.rs +++ b/video/cdg/src/cdgdec/imp.rs @@ -36,6 +36,8 @@ impl ObjectSubclass for CdgDec { impl ObjectImpl for CdgDec {} +impl GstObjectImpl for CdgDec {} + impl ElementImpl for CdgDec { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/cdg/src/cdgparse/imp.rs b/video/cdg/src/cdgparse/imp.rs index 85123c5ee..11cd3fc52 100644 --- a/video/cdg/src/cdgparse/imp.rs +++ b/video/cdg/src/cdgparse/imp.rs @@ -43,6 +43,8 @@ impl ObjectSubclass for CdgParse { impl ObjectImpl for CdgParse {} +impl GstObjectImpl for CdgParse {} + impl ElementImpl for CdgParse { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/closedcaption/src/ccdetect/imp.rs b/video/closedcaption/src/ccdetect/imp.rs index ad1caf067..5e2489526 100644 --- a/video/closedcaption/src/ccdetect/imp.rs +++ b/video/closedcaption/src/ccdetect/imp.rs @@ -293,6 +293,8 @@ impl ObjectImpl for CCDetect { } } +impl GstObjectImpl for CCDetect {} + impl ElementImpl for CCDetect { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/closedcaption/src/cea608overlay/imp.rs b/video/closedcaption/src/cea608overlay/imp.rs index f6f4f88d5..b314dad92 100644 --- a/video/closedcaption/src/cea608overlay/imp.rs +++ b/video/closedcaption/src/cea608overlay/imp.rs @@ -652,6 +652,8 @@ impl ObjectImpl for Cea608Overlay { } } +impl GstObjectImpl for Cea608Overlay {} + impl ElementImpl for Cea608Overlay { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/closedcaption/src/cea608tojson/imp.rs b/video/closedcaption/src/cea608tojson/imp.rs index 0c90ddc8c..3905028c6 100644 --- a/video/closedcaption/src/cea608tojson/imp.rs +++ b/video/closedcaption/src/cea608tojson/imp.rs @@ -1055,6 +1055,8 @@ impl ObjectImpl for Cea608ToJson { } } +impl GstObjectImpl for Cea608ToJson {} + impl ElementImpl for Cea608ToJson { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/closedcaption/src/cea608tott/imp.rs b/video/closedcaption/src/cea608tott/imp.rs index 83646dcaf..8cbc34d91 100644 --- a/video/closedcaption/src/cea608tott/imp.rs +++ b/video/closedcaption/src/cea608tott/imp.rs @@ -421,6 +421,8 @@ impl ObjectImpl for Cea608ToTt { } } +impl GstObjectImpl for Cea608ToTt {} + impl ElementImpl for Cea608ToTt { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/closedcaption/src/jsontovtt/imp.rs b/video/closedcaption/src/jsontovtt/imp.rs index 436c388eb..21eadfeeb 100644 --- a/video/closedcaption/src/jsontovtt/imp.rs +++ b/video/closedcaption/src/jsontovtt/imp.rs @@ -529,6 +529,8 @@ impl ObjectImpl for JsonToVtt { } } +impl GstObjectImpl for JsonToVtt {} + impl ElementImpl for JsonToVtt { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/closedcaption/src/mcc_enc/imp.rs b/video/closedcaption/src/mcc_enc/imp.rs index dcadcf9ee..83ebd3873 100644 --- a/video/closedcaption/src/mcc_enc/imp.rs +++ b/video/closedcaption/src/mcc_enc/imp.rs @@ -557,6 +557,8 @@ impl ObjectImpl for MccEnc { } } +impl GstObjectImpl for MccEnc {} + impl ElementImpl for MccEnc { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/closedcaption/src/mcc_parse/imp.rs b/video/closedcaption/src/mcc_parse/imp.rs index c38c4f19d..4edd08ab5 100644 --- a/video/closedcaption/src/mcc_parse/imp.rs +++ b/video/closedcaption/src/mcc_parse/imp.rs @@ -1200,6 +1200,8 @@ impl ObjectImpl for MccParse { } } +impl GstObjectImpl for MccParse {} + impl ElementImpl for MccParse { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/closedcaption/src/scc_enc/imp.rs b/video/closedcaption/src/scc_enc/imp.rs index a0706feac..e0e0799e8 100644 --- a/video/closedcaption/src/scc_enc/imp.rs +++ b/video/closedcaption/src/scc_enc/imp.rs @@ -390,6 +390,8 @@ impl ObjectImpl for SccEnc { } } +impl GstObjectImpl for SccEnc {} + impl ElementImpl for SccEnc { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/closedcaption/src/scc_parse/imp.rs b/video/closedcaption/src/scc_parse/imp.rs index 2fa363f84..e3207d28e 100644 --- a/video/closedcaption/src/scc_parse/imp.rs +++ b/video/closedcaption/src/scc_parse/imp.rs @@ -1077,6 +1077,8 @@ impl ObjectImpl for SccParse { } } +impl GstObjectImpl for SccParse {} + impl ElementImpl for SccParse { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/closedcaption/src/transcriberbin/imp.rs b/video/closedcaption/src/transcriberbin/imp.rs index 3c8a1ced5..1f146f4ad 100644 --- a/video/closedcaption/src/transcriberbin/imp.rs +++ b/video/closedcaption/src/transcriberbin/imp.rs @@ -758,6 +758,8 @@ impl ObjectImpl for TranscriberBin { } } +impl GstObjectImpl for TranscriberBin {} + impl ElementImpl for TranscriberBin { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/closedcaption/src/tttocea608/imp.rs b/video/closedcaption/src/tttocea608/imp.rs index c47562d68..482764a8e 100644 --- a/video/closedcaption/src/tttocea608/imp.rs +++ b/video/closedcaption/src/tttocea608/imp.rs @@ -1156,6 +1156,8 @@ impl ObjectImpl for TtToCea608 { } } +impl GstObjectImpl for TtToCea608 {} + impl ElementImpl for TtToCea608 { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/closedcaption/src/tttojson/imp.rs b/video/closedcaption/src/tttojson/imp.rs index 8b79617a3..060a83a0e 100644 --- a/video/closedcaption/src/tttojson/imp.rs +++ b/video/closedcaption/src/tttojson/imp.rs @@ -144,6 +144,8 @@ impl TtToJson { } } +impl GstObjectImpl for TtToJson {} + impl ElementImpl for TtToJson { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/dav1d/src/dav1ddec/imp.rs b/video/dav1d/src/dav1ddec/imp.rs index dff634b2d..4cfe4aa67 100644 --- a/video/dav1d/src/dav1ddec/imp.rs +++ b/video/dav1d/src/dav1ddec/imp.rs @@ -349,6 +349,8 @@ impl ObjectSubclass for Dav1dDec { impl ObjectImpl for Dav1dDec {} +impl GstObjectImpl for Dav1dDec {} + impl ElementImpl for Dav1dDec { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/ffv1/src/ffv1dec/imp.rs b/video/ffv1/src/ffv1dec/imp.rs index 66370ee94..0843fa3ed 100644 --- a/video/ffv1/src/ffv1dec/imp.rs +++ b/video/ffv1/src/ffv1dec/imp.rs @@ -299,6 +299,8 @@ impl ObjectSubclass for Ffv1Dec { impl ObjectImpl for Ffv1Dec {} +impl GstObjectImpl for Ffv1Dec {} + impl ElementImpl for Ffv1Dec { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/flavors/src/flvdemux/imp.rs b/video/flavors/src/flvdemux/imp.rs index 78f21bdfa..2ae3b41a6 100644 --- a/video/flavors/src/flvdemux/imp.rs +++ b/video/flavors/src/flvdemux/imp.rs @@ -186,6 +186,8 @@ impl ObjectImpl for FlvDemux { } } +impl GstObjectImpl for FlvDemux {} + impl ElementImpl for FlvDemux { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/gif/src/gifenc/imp.rs b/video/gif/src/gifenc/imp.rs index 9c0480274..35b9178d7 100644 --- a/video/gif/src/gifenc/imp.rs +++ b/video/gif/src/gifenc/imp.rs @@ -203,6 +203,8 @@ impl ObjectImpl for GifEnc { } } +impl GstObjectImpl for GifEnc {} + impl ElementImpl for GifEnc { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/gtk4/src/sink/imp.rs b/video/gtk4/src/sink/imp.rs index 2fd715005..70344ed10 100644 --- a/video/gtk4/src/sink/imp.rs +++ b/video/gtk4/src/sink/imp.rs @@ -115,6 +115,8 @@ impl ObjectImpl for PaintableSink { } } +impl GstObjectImpl for PaintableSink {} + impl ElementImpl for PaintableSink { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/hsv/src/hsvdetector/imp.rs b/video/hsv/src/hsvdetector/imp.rs index 29f999e34..e729d07d1 100644 --- a/video/hsv/src/hsvdetector/imp.rs +++ b/video/hsv/src/hsvdetector/imp.rs @@ -343,6 +343,8 @@ impl ObjectImpl for HsvDetector { } } +impl GstObjectImpl for HsvDetector {} + impl ElementImpl for HsvDetector { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/hsv/src/hsvfilter/imp.rs b/video/hsv/src/hsvfilter/imp.rs index e752ba965..0cb8f457d 100644 --- a/video/hsv/src/hsvfilter/imp.rs +++ b/video/hsv/src/hsvfilter/imp.rs @@ -276,6 +276,8 @@ impl ObjectImpl for HsvFilter { } } +impl GstObjectImpl for HsvFilter {} + impl ElementImpl for HsvFilter { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/rav1e/src/rav1enc/imp.rs b/video/rav1e/src/rav1enc/imp.rs index 1c939341d..89e8db1d7 100644 --- a/video/rav1e/src/rav1enc/imp.rs +++ b/video/rav1e/src/rav1enc/imp.rs @@ -408,6 +408,8 @@ impl ObjectImpl for Rav1Enc { } } +impl GstObjectImpl for Rav1Enc {} + impl ElementImpl for Rav1Enc { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/rspng/src/pngenc/imp.rs b/video/rspng/src/pngenc/imp.rs index aa680b79f..abdd2e6cd 100644 --- a/video/rspng/src/pngenc/imp.rs +++ b/video/rspng/src/pngenc/imp.rs @@ -234,6 +234,8 @@ impl ObjectImpl for PngEncoder { } } +impl GstObjectImpl for PngEncoder {} + impl ElementImpl for PngEncoder { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { diff --git a/video/webp/src/dec/imp.rs b/video/webp/src/dec/imp.rs index 26ae39b85..3c1fd2482 100644 --- a/video/webp/src/dec/imp.rs +++ b/video/webp/src/dec/imp.rs @@ -337,6 +337,8 @@ impl ObjectImpl for WebPDec { } } +impl GstObjectImpl for WebPDec {} + impl ElementImpl for WebPDec { fn metadata() -> Option<&'static gst::subclass::ElementMetadata> { static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| { |