mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 10:55:34 +00:00
gst: Fix build with option parsing disabled
This commit is contained in:
parent
9f2d7d2378
commit
4844adf193
1 changed files with 7 additions and 3 deletions
10
gst/gst.c
10
gst/gst.c
|
@ -492,7 +492,8 @@ gst_is_initialized (void)
|
||||||
return gst_initialized;
|
return gst_initialized;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef GST_DISABLE_REGISTRY
|
#ifndef GST_DISABLE_OPTION_PARSING
|
||||||
|
# ifndef GST_DISABLE_REGISTRY
|
||||||
static void
|
static void
|
||||||
add_path_func (gpointer data, gpointer user_data)
|
add_path_func (gpointer data, gpointer user_data)
|
||||||
{
|
{
|
||||||
|
@ -500,6 +501,7 @@ add_path_func (gpointer data, gpointer user_data)
|
||||||
_priv_gst_plugin_paths =
|
_priv_gst_plugin_paths =
|
||||||
g_list_append (_priv_gst_plugin_paths, g_strdup (data));
|
g_list_append (_priv_gst_plugin_paths, g_strdup (data));
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GST_DISABLE_OPTION_PARSING
|
#ifndef GST_DISABLE_OPTION_PARSING
|
||||||
|
@ -813,7 +815,8 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef GST_DISABLE_GST_DEBUG
|
#ifndef GST_DISABLE_OPTION_PARSING
|
||||||
|
# ifndef GST_DISABLE_GST_DEBUG
|
||||||
static gboolean
|
static gboolean
|
||||||
select_all (GstPlugin * plugin, gpointer user_data)
|
select_all (GstPlugin * plugin, gpointer user_data)
|
||||||
{
|
{
|
||||||
|
@ -935,7 +938,8 @@ gst_debug_help (void)
|
||||||
g_slist_free (list);
|
g_slist_free (list);
|
||||||
g_print ("\n");
|
g_print ("\n");
|
||||||
}
|
}
|
||||||
#endif
|
# endif /* GST_DISABLE_OPTION_PARSING */
|
||||||
|
#endif /* GST_DISABLE_GST_DEBUG */
|
||||||
|
|
||||||
#ifndef GST_DISABLE_OPTION_PARSING
|
#ifndef GST_DISABLE_OPTION_PARSING
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
Loading…
Reference in a new issue