From 2ed84fe298ae89dadd60746c53d512fd2e8f1b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 7 Jul 2024 19:30:30 +0300 Subject: [PATCH] taginject: Use proper GType macro for the GstTagScope enum Part-of: --- subprojects/gst-plugins-good/gst/debugutils/gsttaginject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/gst/debugutils/gsttaginject.c b/subprojects/gst-plugins-good/gst/debugutils/gsttaginject.c index fa680baac5..fdfb503386 100644 --- a/subprojects/gst-plugins-good/gst/debugutils/gsttaginject.c +++ b/subprojects/gst-plugins-good/gst/debugutils/gsttaginject.c @@ -128,7 +128,7 @@ gst_tag_inject_class_init (GstTagInjectClass * klass) g_object_class_install_property (gobject_class, PROP_SCOPE, g_param_spec_enum ("scope", "Scope", "Scope of tags to inject (stream | global)", - g_type_from_name ("GstTagScope"), GST_TAG_SCOPE_STREAM, + GST_TYPE_TAG_SCOPE, GST_TAG_SCOPE_STREAM, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)); gobject_class->finalize = gst_tag_inject_finalize;