docs: fix build of docs examples
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 2 Jan 2012 14:47:46 +0000 (15:47 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 2 Jan 2012 14:47:46 +0000 (15:47 +0100)
Update for registry method rename

docs/manual/advanced-autoplugging.xml

index 31b258e..dbdb5ea 100644 (file)
@@ -314,7 +314,7 @@ init_factories (void)
 {
   /* first filter out the interesting element factories */
   factories = gst_registry_feature_filter (
-      gst_registry_get_default (),
+      gst_registry_get (),
       (GstPluginFeatureFilter) cb_feature_filter, FALSE, NULL);
 
   /* sort them according to their ranks */