Skip to content
Snippets Groups Projects
Commit 721a1c75 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller :tropical_fish:
Browse files

tools: suppress GLib warnings when gst-inspecting deprecated properties

GLib in git will spew a g_warning() when a property marked as
deprecated via param spec flags is accessed. Suppress this by
setting the appropriate environment variable.
parent 125ae3ac
No related branches found
No related tags found
No related merge requests found
......@@ -1484,6 +1484,9 @@ main (int argc, char *argv[])
textdomain (GETTEXT_PACKAGE);
#endif
/* avoid glib warnings when inspecting deprecated properties */
g_setenv ("G_ENABLE_DIAGNOSTIC", "0", FALSE);
g_set_prgname ("gst-inspect-" GST_API_VERSION);
#ifndef GST_DISABLE_OPTION_PARSING
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment