mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
registrychunks: fix compilation with debugging disabled
Add ugly ifdef to fix unused variable warning when compiling with debug logging disabled.
This commit is contained in:
parent
ab5abab603
commit
dfc792c904
1 changed files with 3 additions and 1 deletions
|
@ -725,11 +725,13 @@ gboolean
|
||||||
_priv_gst_registry_chunks_load_plugin (GstRegistry * registry, gchar ** in,
|
_priv_gst_registry_chunks_load_plugin (GstRegistry * registry, gchar ** in,
|
||||||
gchar * end, GstPlugin ** out_plugin)
|
gchar * end, GstPlugin ** out_plugin)
|
||||||
{
|
{
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
|
gchar *start = *in;
|
||||||
|
#endif
|
||||||
GstRegistryChunkPluginElement *pe;
|
GstRegistryChunkPluginElement *pe;
|
||||||
GstPlugin *plugin = NULL;
|
GstPlugin *plugin = NULL;
|
||||||
gchar *cache_str = NULL;
|
gchar *cache_str = NULL;
|
||||||
guint i, n;
|
guint i, n;
|
||||||
gchar *start = *in;
|
|
||||||
|
|
||||||
align (*in);
|
align (*in);
|
||||||
GST_LOG ("Reading/casting for GstRegistryChunkPluginElement at address %p",
|
GST_LOG ("Reading/casting for GstRegistryChunkPluginElement at address %p",
|
||||||
|
|
Loading…
Reference in a new issue