mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
gstregistrybinary: Make it compile with GST_DISABLE_GST_DEBUG.
This commit is contained in:
parent
37a37d0b4d
commit
846d56b865
1 changed files with 2 additions and 0 deletions
|
@ -1164,7 +1164,9 @@ gst_registry_binary_read_cache (GstRegistry * registry, const char *location)
|
|||
g_file_get_contents (location, &contents, &size, &err);
|
||||
if (err != NULL) {
|
||||
GST_INFO ("Unable to read file %s : %s", location, err->message);
|
||||
#ifndef GST_DISABLE_GST_DEBUG
|
||||
g_timer_destroy (timer);
|
||||
#endif
|
||||
g_error_free (err);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue