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/json | |
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/json')
-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 |
3 files changed, 3 insertions, 3 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"); }); } |