registry: add filename to debug message, like elsewhere

This commit is contained in:
Stefan Kost 2009-07-28 16:13:37 +03:00
parent b01fb4d230
commit e4ee7831e3

View file

@ -1264,7 +1264,7 @@ gst_registry_binary_read_cache (GstRegistry * registry, const char *location)
in = contents;
GST_DEBUG ("File data at address %p", in);
if (G_UNLIKELY (size < sizeof (GstBinaryRegistryMagic))) {
GST_ERROR ("No or broken registry header");
GST_ERROR ("No or broken registry header for file at %s", location);
goto Error;
}