Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-10-23 18:42:58 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-10-23 20:46:08 +0300
commitf045099fc135d54a74b7a918e8ffcce5352ad3a7 (patch)
tree3ec9ec3beb0bdafb8b16fbf106c89354c5a0c3ea /tutorial/src
parent211cd095d69726a3a2208feddd921d05b60c6540 (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 'tutorial/src')
-rw-r--r--tutorial/src/identity/imp.rs2
-rw-r--r--tutorial/src/progressbin/imp.rs4
-rw-r--r--tutorial/src/rgb2gray/imp.rs2
-rw-r--r--tutorial/src/sinesrc/imp.rs2
4 files changed, 5 insertions, 5 deletions
diff --git a/tutorial/src/identity/imp.rs b/tutorial/src/identity/imp.rs
index 49e40ccb3..35442d87c 100644
--- a/tutorial/src/identity/imp.rs
+++ b/tutorial/src/identity/imp.rs
@@ -105,7 +105,7 @@ impl Identity {
// up the class data
#[glib::object_subclass]
impl ObjectSubclass for Identity {
- const NAME: &'static str = "RsIdentity";
+ const NAME: &'static str = "GstRsIdentity";
type Type = super::Identity;
type ParentType = gst::Element;
diff --git a/tutorial/src/progressbin/imp.rs b/tutorial/src/progressbin/imp.rs
index 3bc94c40e..5dad12323 100644
--- a/tutorial/src/progressbin/imp.rs
+++ b/tutorial/src/progressbin/imp.rs
@@ -23,7 +23,7 @@ const DEFAULT_OUTPUT_TYPE: ProgressBinOutput = ProgressBinOutput::Println;
static CAT: Lazy<gst::DebugCategory> = Lazy::new(|| {
gst::DebugCategory::new(
- "progressbin",
+ "rsprogressbin",
gst::DebugColorFlags::empty(),
Some("Rust Progress Reporter"),
)
@@ -45,7 +45,7 @@ pub struct ProgressBin {
// up the class data
#[glib::object_subclass]
impl ObjectSubclass for ProgressBin {
- const NAME: &'static str = "RsProgressBin";
+ const NAME: &'static str = "GstRsProgressBin";
type Type = super::ProgressBin;
type ParentType = gst::Bin;
diff --git a/tutorial/src/rgb2gray/imp.rs b/tutorial/src/rgb2gray/imp.rs
index 70e936658..37e2ad5fc 100644
--- a/tutorial/src/rgb2gray/imp.rs
+++ b/tutorial/src/rgb2gray/imp.rs
@@ -86,7 +86,7 @@ impl Rgb2Gray {
// up the class data
#[glib::object_subclass]
impl ObjectSubclass for Rgb2Gray {
- const NAME: &'static str = "RsRgb2Gray";
+ const NAME: &'static str = "GstRsRgb2Gray";
type Type = super::Rgb2Gray;
type ParentType = gst_video::VideoFilter;
}
diff --git a/tutorial/src/sinesrc/imp.rs b/tutorial/src/sinesrc/imp.rs
index 38811fc49..2fdba9e7f 100644
--- a/tutorial/src/sinesrc/imp.rs
+++ b/tutorial/src/sinesrc/imp.rs
@@ -157,7 +157,7 @@ impl SineSrc {
// up the class data
#[glib::object_subclass]
impl ObjectSubclass for SineSrc {
- const NAME: &'static str = "RsSineSrc";
+ const NAME: &'static str = "GstRsSineSrc";
type Type = super::SineSrc;
type ParentType = gst_base::PushSrc;
}