diff --git a/girs/Gst-1.0.gir b/girs/Gst-1.0.gir
index 030d3e71d5..1aa13a5404 100644
--- a/girs/Gst-1.0.gir
+++ b/girs/Gst-1.0.gir
@@ -11060,6 +11060,13 @@ Used to generate `gst_device_provider_register_*(GstPlugin* plugin)`.
+
+
+
+
+
+
+
This macro can be used to register a dynamic type into a #GstPlugin.
This method will be usually called in the plugin init function
diff --git a/subprojects/gstreamer/gst/gstdynamictypefactory.h b/subprojects/gstreamer/gst/gstdynamictypefactory.h
index 371dafb627..450184862a 100644
--- a/subprojects/gstreamer/gst/gstdynamictypefactory.h
+++ b/subprojects/gstreamer/gst/gstdynamictypefactory.h
@@ -89,8 +89,12 @@ G_BEGIN_DECLS
#define GST_TYPE_DYNAMIC_TYPE_FACTORY (gst_dynamic_type_factory_get_type())
#define GST_DYNAMIC_TYPE_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DYNAMIC_TYPE_FACTORY,\
GstDynamicTypeFactory))
+#ifndef GST_DISABLE_DEPRECATED
#define GST_DYNAMIC_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DYNAMIC_TYPE_FACTORY,\
GstDynamicTypeFactoryClass))
+#endif
+#define GST_DYNAMIC_TYPE_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DYNAMIC_TYPE_FACTORY,\
+ GstDynamicTypeFactoryClass))
#define GST_IS_DYNAMIC_TYPE_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DYNAMIC_TYPE_FACTORY))
#define GST_IS_DYNAMIC_TYPE_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DYNAMIC_TYPE_FACTORY))
#define GST_DYNAMIC_TYPE_FACTORY_CAST(obj) ((GstDynamicTypeFactory *)(obj))