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 /net | |
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 'net')
-rw-r--r-- | net/aws/src/aws_transcribe_parse/imp.rs | 2 | ||||
-rw-r--r-- | net/aws/src/aws_transcriber/imp.rs | 2 | ||||
-rw-r--r-- | net/aws/src/s3hlssink/imp.rs | 4 | ||||
-rw-r--r-- | net/aws/src/s3sink/imp.rs | 2 | ||||
-rw-r--r-- | net/aws/src/s3src/imp.rs | 2 | ||||
-rw-r--r-- | net/ndi/src/device_provider/imp.rs | 2 | ||||
-rw-r--r-- | net/onvif/src/onvifmetadataparse/imp.rs | 2 | ||||
-rw-r--r-- | net/reqwest/src/reqwesthttpsrc/imp.rs | 4 | ||||
-rw-r--r-- | net/rtp/src/gcc/imp.rs | 4 | ||||
-rw-r--r-- | net/webrtc/src/signaller/imp.rs | 2 | ||||
-rw-r--r-- | net/webrtc/src/webrtcsink/imp.rs | 2 | ||||
-rw-r--r-- | net/webrtchttp/src/whipsink/imp.rs | 2 |
12 files changed, 15 insertions, 15 deletions
diff --git a/net/aws/src/aws_transcribe_parse/imp.rs b/net/aws/src/aws_transcribe_parse/imp.rs index 18cde1fa7..3da0d670c 100644 --- a/net/aws/src/aws_transcribe_parse/imp.rs +++ b/net/aws/src/aws_transcribe_parse/imp.rs @@ -246,7 +246,7 @@ impl TranscribeParse { #[glib::object_subclass] impl ObjectSubclass for TranscribeParse { - const NAME: &'static str = "RsAWSTranscribeParse"; + const NAME: &'static str = "GstAwsTranscribeParse"; type Type = super::TranscribeParse; type ParentType = gst::Element; diff --git a/net/aws/src/aws_transcriber/imp.rs b/net/aws/src/aws_transcriber/imp.rs index 49eaf56ce..44980d8bb 100644 --- a/net/aws/src/aws_transcriber/imp.rs +++ b/net/aws/src/aws_transcriber/imp.rs @@ -1071,7 +1071,7 @@ impl Transcriber { #[glib::object_subclass] impl ObjectSubclass for Transcriber { - const NAME: &'static str = "RsAwsTranscriber"; + const NAME: &'static str = "GstAwsTranscriber"; type Type = super::Transcriber; type ParentType = gst::Element; diff --git a/net/aws/src/s3hlssink/imp.rs b/net/aws/src/s3hlssink/imp.rs index f59498b0f..f724145f4 100644 --- a/net/aws/src/s3hlssink/imp.rs +++ b/net/aws/src/s3hlssink/imp.rs @@ -91,7 +91,7 @@ pub struct S3HlsSink { static CAT: Lazy<gst::DebugCategory> = Lazy::new(|| { gst::DebugCategory::new( - "s3hlssink", + "awss3hlssink", gst::DebugColorFlags::empty(), Some("S3 HLS sink"), ) @@ -404,7 +404,7 @@ impl S3HlsSink { #[glib::object_subclass] impl ObjectSubclass for S3HlsSink { - const NAME: &'static str = "S3HlsSink"; + const NAME: &'static str = "GstAwsS3HlsSink"; type Type = super::S3HlsSink; type ParentType = gst::Bin; diff --git a/net/aws/src/s3sink/imp.rs b/net/aws/src/s3sink/imp.rs index d53ec2c1a..6a9d61a08 100644 --- a/net/aws/src/s3sink/imp.rs +++ b/net/aws/src/s3sink/imp.rs @@ -636,7 +636,7 @@ impl S3Sink { #[glib::object_subclass] impl ObjectSubclass for S3Sink { - const NAME: &'static str = "AwsS3Sink"; + const NAME: &'static str = "GstAwsS3Sink"; type Type = super::S3Sink; type ParentType = gst_base::BaseSink; type Interfaces = (gst::URIHandler,); diff --git a/net/aws/src/s3src/imp.rs b/net/aws/src/s3src/imp.rs index 54e0ea80b..93308ccd6 100644 --- a/net/aws/src/s3src/imp.rs +++ b/net/aws/src/s3src/imp.rs @@ -277,7 +277,7 @@ impl S3Src { #[glib::object_subclass] impl ObjectSubclass for S3Src { - const NAME: &'static str = "AwsS3Src"; + const NAME: &'static str = "GstAwsS3Src"; type Type = super::S3Src; type ParentType = gst_base::BaseSrc; type Interfaces = (gst::URIHandler,); diff --git a/net/ndi/src/device_provider/imp.rs b/net/ndi/src/device_provider/imp.rs index 87aa2bb1b..d99091e0f 100644 --- a/net/ndi/src/device_provider/imp.rs +++ b/net/ndi/src/device_provider/imp.rs @@ -197,7 +197,7 @@ pub struct Device { #[glib::object_subclass] impl ObjectSubclass for Device { - const NAME: &'static str = "NdiDevice"; + const NAME: &'static str = "GstNdiDevice"; type Type = super::Device; type ParentType = gst::Device; diff --git a/net/onvif/src/onvifmetadataparse/imp.rs b/net/onvif/src/onvifmetadataparse/imp.rs index 3833d2b9e..b2ff1012b 100644 --- a/net/onvif/src/onvifmetadataparse/imp.rs +++ b/net/onvif/src/onvifmetadataparse/imp.rs @@ -1401,7 +1401,7 @@ impl OnvifMetadataParse { #[glib::object_subclass] impl ObjectSubclass for OnvifMetadataParse { - const NAME: &'static str = "OnvifMetadataParse"; + const NAME: &'static str = "GstOnvifMetadataParse"; type Type = super::OnvifMetadataParse; type ParentType = gst::Element; diff --git a/net/reqwest/src/reqwesthttpsrc/imp.rs b/net/reqwest/src/reqwesthttpsrc/imp.rs index 5874d9b16..42d456747 100644 --- a/net/reqwest/src/reqwesthttpsrc/imp.rs +++ b/net/reqwest/src/reqwesthttpsrc/imp.rs @@ -114,7 +114,7 @@ fn proxy_from_str(s: Option<String>) -> Result<Option<String>, glib::Error> { const REQWEST_CLIENT_CONTEXT: &str = "gst.reqwest.client"; #[derive(Clone, Debug, glib::Boxed)] -#[boxed_type(name = "ReqwestClientContext")] +#[boxed_type(name = "GstReqwestClientContext")] struct ClientContext(Arc<ClientContextInner>); #[derive(Debug)] @@ -1280,7 +1280,7 @@ impl URIHandlerImpl for ReqwestHttpSrc { #[glib::object_subclass] impl ObjectSubclass for ReqwestHttpSrc { - const NAME: &'static str = "ReqwestHttpSrc"; + const NAME: &'static str = "GstReqwestHttpSrc"; type Type = super::ReqwestHttpSrc; type ParentType = gst_base::PushSrc; type Interfaces = (gst::URIHandler,); diff --git a/net/rtp/src/gcc/imp.rs b/net/rtp/src/gcc/imp.rs index 4899e8ea9..09f82c5d9 100644 --- a/net/rtp/src/gcc/imp.rs +++ b/net/rtp/src/gcc/imp.rs @@ -41,7 +41,7 @@ const DEFAULT_MAX_BITRATE: Bitrate = 8_192_000; static CAT: Lazy<gst::DebugCategory> = Lazy::new(|| { gst::DebugCategory::new( - "gcc", + "rtpgccbwe", gst::DebugColorFlags::empty(), Some("Google Congestion Controller based bandwidth estimator"), ) @@ -1146,7 +1146,7 @@ impl BandwidthEstimator { #[glib::object_subclass] impl ObjectSubclass for BandwidthEstimator { - const NAME: &'static str = "GstRTPGCCBwE"; + const NAME: &'static str = "GstRtpGCCBwE"; type Type = super::BandwidthEstimator; type ParentType = gst::Element; diff --git a/net/webrtc/src/signaller/imp.rs b/net/webrtc/src/signaller/imp.rs index 5757063cc..145d27c59 100644 --- a/net/webrtc/src/signaller/imp.rs +++ b/net/webrtc/src/signaller/imp.rs @@ -363,7 +363,7 @@ impl Signaller { #[glib::object_subclass] impl ObjectSubclass for Signaller { - const NAME: &'static str = "GstRSWebRTCSinkSignaller"; + const NAME: &'static str = "GstWebRTCSinkSignaller"; type Type = super::Signaller; type ParentType = glib::Object; } diff --git a/net/webrtc/src/webrtcsink/imp.rs b/net/webrtc/src/webrtcsink/imp.rs index 58727984f..e9f2b2402 100644 --- a/net/webrtc/src/webrtcsink/imp.rs +++ b/net/webrtc/src/webrtcsink/imp.rs @@ -2325,7 +2325,7 @@ impl WebRTCSink { #[glib::object_subclass] impl ObjectSubclass for WebRTCSink { - const NAME: &'static str = "GstRSWebRTCSink"; + const NAME: &'static str = "GstWebRTCSink"; type Type = super::WebRTCSink; type ParentType = gst::Bin; type Interfaces = (gst::ChildProxy, gst_video::Navigation); diff --git a/net/webrtchttp/src/whipsink/imp.rs b/net/webrtchttp/src/whipsink/imp.rs index 27a3fa42d..b23613972 100644 --- a/net/webrtchttp/src/whipsink/imp.rs +++ b/net/webrtchttp/src/whipsink/imp.rs @@ -354,7 +354,7 @@ impl ObjectImpl for WhipSink { #[glib::object_subclass] impl ObjectSubclass for WhipSink { - const NAME: &'static str = "WhipSink"; + const NAME: &'static str = "GstWhipSink"; type Type = super::WhipSink; type ParentType = gst::Bin; } |