registrychunks: Use the correct variable for debug message
authorOlivier Crête <olivier.crete@collabora.co.uk>
Mon, 6 Sep 2010 11:09:52 +0000 (14:09 +0300)
committerOlivier Crête <olivier.crete@collabora.co.uk>
Mon, 6 Sep 2010 11:11:27 +0000 (14:11 +0300)
Debug print was using a variable that was not initialized.

gst/gstregistrychunks.c

index 6867e2307934be0dddf54073af913a09012079fc..9b3003eb49ac9f543dbfe69b676e208b57fef8ce 100644 (file)
@@ -589,7 +589,7 @@ gst_registry_chunks_load_feature (GstRegistry * registry, gchar ** in,
       if (!factory->meta_data) {
         GST_ERROR
             ("Error when trying to deserialize structure for metadata '%s'",
-            str);
+            meta_data_str);
         goto fail;
       }
     }