From f045099fc135d54a74b7a918e8ffcce5352ad3a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 23 Oct 2022 18:42:58 +0300 Subject: Fix GObject type names, GStreamer debug category names and element factory names Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/198 --- text/json/src/jsongstenc/imp.rs | 2 +- text/json/src/jsongstparse/imp.rs | 2 +- text/json/tests/json.rs | 2 +- text/regex/src/gstregex/imp.rs | 2 +- text/regex/tests/regex.rs | 2 +- text/wrap/src/gsttextwrap/imp.rs | 2 +- text/wrap/tests/textwrap.rs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'text') diff --git a/text/json/src/jsongstenc/imp.rs b/text/json/src/jsongstenc/imp.rs index 19e4ad4fc..fd3676785 100644 --- a/text/json/src/jsongstenc/imp.rs +++ b/text/json/src/jsongstenc/imp.rs @@ -177,7 +177,7 @@ impl JsonGstEnc { #[glib::object_subclass] impl ObjectSubclass for JsonGstEnc { - const NAME: &'static str = "RsJsonGstEnc"; + const NAME: &'static str = "GstJsonGstEnc"; type Type = super::JsonGstEnc; type ParentType = gst::Element; diff --git a/text/json/src/jsongstparse/imp.rs b/text/json/src/jsongstparse/imp.rs index a34f72477..9391ad38b 100644 --- a/text/json/src/jsongstparse/imp.rs +++ b/text/json/src/jsongstparse/imp.rs @@ -818,7 +818,7 @@ impl JsonGstParse { #[glib::object_subclass] impl ObjectSubclass for JsonGstParse { - const NAME: &'static str = "RsJsonGstParse"; + const NAME: &'static str = "GstJsonGstParse"; type Type = super::JsonGstParse; type ParentType = gst::Element; diff --git a/text/json/tests/json.rs b/text/json/tests/json.rs index 759649b61..1703269dc 100644 --- a/text/json/tests/json.rs +++ b/text/json/tests/json.rs @@ -16,7 +16,7 @@ fn init() { INIT.call_once(|| { gst::init().unwrap(); - gstrsjson::plugin_register_static().expect("json test"); + gstjson::plugin_register_static().expect("json test"); }); } diff --git a/text/regex/src/gstregex/imp.rs b/text/regex/src/gstregex/imp.rs index be77ccf4c..73a3c9692 100644 --- a/text/regex/src/gstregex/imp.rs +++ b/text/regex/src/gstregex/imp.rs @@ -105,7 +105,7 @@ impl RegEx { #[glib::object_subclass] impl ObjectSubclass for RegEx { - const NAME: &'static str = "RsRegEx"; + const NAME: &'static str = "GstRegEx"; type Type = super::RegEx; type ParentType = gst::Element; diff --git a/text/regex/tests/regex.rs b/text/regex/tests/regex.rs index 25871c4b3..fc0508e10 100644 --- a/text/regex/tests/regex.rs +++ b/text/regex/tests/regex.rs @@ -14,7 +14,7 @@ fn init() { INIT.call_once(|| { gst::init().unwrap(); - gstrsregex::plugin_register_static().expect("regex test"); + gstregex::plugin_register_static().expect("regex test"); }); } diff --git a/text/wrap/src/gsttextwrap/imp.rs b/text/wrap/src/gsttextwrap/imp.rs index a6bfaa62f..cf779937a 100644 --- a/text/wrap/src/gsttextwrap/imp.rs +++ b/text/wrap/src/gsttextwrap/imp.rs @@ -395,7 +395,7 @@ impl TextWrap { #[glib::object_subclass] impl ObjectSubclass for TextWrap { - const NAME: &'static str = "RsTextWrap"; + const NAME: &'static str = "GstTextWrap"; type Type = super::TextWrap; type ParentType = gst::Element; diff --git a/text/wrap/tests/textwrap.rs b/text/wrap/tests/textwrap.rs index 9adf1cc4f..ba8d8cb5a 100644 --- a/text/wrap/tests/textwrap.rs +++ b/text/wrap/tests/textwrap.rs @@ -14,7 +14,7 @@ fn init() { INIT.call_once(|| { gst::init().unwrap(); - gstrstextwrap::plugin_register_static().expect("textwrap test"); + gsttextwrap::plugin_register_static().expect("textwrap test"); }); } -- cgit v1.2.3