ndi: Prefix GType names with Gst

This commit is contained in:
Sebastian Dröge 2022-10-12 19:52:31 +03:00
parent 047f990c78
commit 907910329f
5 changed files with 5 additions and 5 deletions

View file

@ -32,7 +32,7 @@ pub struct DeviceProvider {
#[glib::object_subclass] #[glib::object_subclass]
impl ObjectSubclass for DeviceProvider { impl ObjectSubclass for DeviceProvider {
const NAME: &'static str = "NdiDeviceProvider"; const NAME: &'static str = "GstNdiDeviceProvider";
type Type = super::DeviceProvider; type Type = super::DeviceProvider;
type ParentType = gst::DeviceProvider; type ParentType = gst::DeviceProvider;

View file

@ -51,7 +51,7 @@ static CAT: Lazy<gst::DebugCategory> = Lazy::new(|| {
#[glib::object_subclass] #[glib::object_subclass]
impl ObjectSubclass for NdiSink { impl ObjectSubclass for NdiSink {
const NAME: &'static str = "NdiSink"; const NAME: &'static str = "GstNdiSink";
type Type = super::NdiSink; type Type = super::NdiSink;
type ParentType = gst_base::BaseSink; type ParentType = gst_base::BaseSink;

View file

@ -38,7 +38,7 @@ pub struct NdiSinkCombiner {
#[glib::object_subclass] #[glib::object_subclass]
impl ObjectSubclass for NdiSinkCombiner { impl ObjectSubclass for NdiSinkCombiner {
const NAME: &'static str = "NdiSinkCombiner"; const NAME: &'static str = "GstNdiSinkCombiner";
type Type = super::NdiSinkCombiner; type Type = super::NdiSinkCombiner;
type ParentType = gst_base::Aggregator; type ParentType = gst_base::Aggregator;

View file

@ -90,7 +90,7 @@ pub struct NdiSrc {
#[glib::object_subclass] #[glib::object_subclass]
impl ObjectSubclass for NdiSrc { impl ObjectSubclass for NdiSrc {
const NAME: &'static str = "NdiSrc"; const NAME: &'static str = "GstNdiSrc";
type Type = super::NdiSrc; type Type = super::NdiSrc;
type ParentType = gst_base::BaseSrc; type ParentType = gst_base::BaseSrc;

View file

@ -35,7 +35,7 @@ pub struct NdiSrcDemux {
#[glib::object_subclass] #[glib::object_subclass]
impl ObjectSubclass for NdiSrcDemux { impl ObjectSubclass for NdiSrcDemux {
const NAME: &'static str = "NdiSrcDemux"; const NAME: &'static str = "GstNdiSrcDemux";
type Type = super::NdiSrcDemux; type Type = super::NdiSrcDemux;
type ParentType = gst::Element; type ParentType = gst::Element;