diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-10-23 18:42:58 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-10-23 20:46:08 +0300 |
commit | f045099fc135d54a74b7a918e8ffcce5352ad3a7 (patch) | |
tree | 3ec9ec3beb0bdafb8b16fbf106c89354c5a0c3ea /text | |
parent | 211cd095d69726a3a2208feddd921d05b60c6540 (diff) |
Fix GObject type names, GStreamer debug category names and element factory names
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/198
Diffstat (limited to 'text')
-rw-r--r-- | text/json/src/jsongstenc/imp.rs | 2 | ||||
-rw-r--r-- | text/json/src/jsongstparse/imp.rs | 2 | ||||
-rw-r--r-- | text/json/tests/json.rs | 2 | ||||
-rw-r--r-- | text/regex/src/gstregex/imp.rs | 2 | ||||
-rw-r--r-- | text/regex/tests/regex.rs | 2 | ||||
-rw-r--r-- | text/wrap/src/gsttextwrap/imp.rs | 2 | ||||
-rw-r--r-- | text/wrap/tests/textwrap.rs | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/text/json/src/jsongstenc/imp.rs b/text/json/src/jsongstenc/imp.rs index 19e4ad4f..fd367678 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 a34f7247..9391ad38 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 759649b6..1703269d 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 be77ccf4..73a3c969 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 25871c4b..fc0508e1 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 a6bfaa62..cf779937 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 9adf1cc4..ba8d8cb5 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"); }); } |