ndi: Make element factory details and debug categories more consistent

This commit is contained in:
Sebastian Dröge 2022-10-12 19:55:09 +03:00
parent 907910329f
commit 16c036e2cc
3 changed files with 7 additions and 7 deletions

View file

@ -15,7 +15,7 @@ use crate::ndi::SendInstance;
static DEFAULT_SENDER_NDI_NAME: Lazy<String> = Lazy::new(|| {
format!(
"GStreamer NDI Sink {}-{}",
"GStreamer NewTek NDI Sink {}-{}",
env!("CARGO_PKG_VERSION"),
env!("COMMIT_ID")
)
@ -105,9 +105,9 @@ impl ElementImpl for NdiSink {
fn metadata() -> Option<&'static gst::subclass::ElementMetadata> {
static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| {
gst::subclass::ElementMetadata::new(
"NDI Sink",
"NewTek NDI Sink",
"Sink/Audio/Video",
"Render as an NDI stream",
"NewTek NDI Sink",
"Sebastian Dröge <sebastian@centricular.com>",
)
});

View file

@ -17,7 +17,7 @@ static CAT: once_cell::sync::Lazy<gst::DebugCategory> = once_cell::sync::Lazy::n
gst::DebugCategory::new(
"ndisinkcombiner",
gst::DebugColorFlags::empty(),
Some("NDI sink audio/video combiner"),
Some("NewTek NDI sink audio/video combiner"),
)
});
@ -71,9 +71,9 @@ impl ElementImpl for NdiSinkCombiner {
fn metadata() -> Option<&'static gst::subclass::ElementMetadata> {
static ELEMENT_METADATA: Lazy<gst::subclass::ElementMetadata> = Lazy::new(|| {
gst::subclass::ElementMetadata::new(
"NDI Sink Combiner",
"NewTek NDI Sink Combiner",
"Combiner/Audio/Video",
"NDI sink audio/video combiner",
"NewTek NDI sink audio/video combiner",
"Sebastian Dröge <sebastian@centricular.com>",
)
});

View file

@ -341,7 +341,7 @@ impl ElementImpl for NdiSrc {
gst::subclass::ElementMetadata::new(
"NewTek NDI Source",
"Source/Audio/Video/Network",
"NewTek NDI source",
"NewTek NDI Source",
"Ruben Gonzalez <rubenrua@teltek.es>, Daniel Vilar <daniel.peiteado@teltek.es>, Sebastian Dröge <sebastian@centricular.com>",
)
});