registry: add filename to debug message, like elsewhere
authorStefan Kost <ensonic@users.sf.net>
Tue, 28 Jul 2009 13:13:37 +0000 (16:13 +0300)
committerStefan Kost <ensonic@users.sf.net>
Thu, 6 Aug 2009 12:30:32 +0000 (15:30 +0300)
gst/gstregistrybinary.c

index aacb414..09c6ae3 100644 (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;
   }