gst_plugins_good/gst/autodetect/gstautodetect.c
changeset 16 8e837d1bf446
parent 2 5505e8908944
--- a/gst_plugins_good/gst/autodetect/gstautodetect.c	Wed Mar 24 17:58:42 2010 -0500
+++ b/gst_plugins_good/gst/autodetect/gstautodetect.c	Wed Mar 24 18:04:17 2010 -0500
@@ -25,7 +25,9 @@
 
 #include "gstautodetect.h"
 #include "gstautoaudiosink.h"
+#include "gstautoaudiosrc.h"
 #include "gstautovideosink.h"
+#include "gstautovideosrc.h"
 
 GST_DEBUG_CATEGORY (autodetect_debug);
 
@@ -37,14 +39,18 @@
 
   return gst_element_register (plugin, "autovideosink",
       GST_RANK_NONE, GST_TYPE_AUTO_VIDEO_SINK) &&
+      gst_element_register (plugin, "autovideosrc",
+      GST_RANK_NONE, GST_TYPE_AUTO_VIDEO_SRC) &&
       gst_element_register (plugin, "autoaudiosink",
-      GST_RANK_NONE, GST_TYPE_AUTO_AUDIO_SINK);
+      GST_RANK_NONE, GST_TYPE_AUTO_AUDIO_SINK) &&
+      gst_element_register (plugin, "autoaudiosrc",
+      GST_RANK_NONE, GST_TYPE_AUTO_AUDIO_SRC);
 }
 
 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
     GST_VERSION_MINOR,
     "autodetect",
-    "Plugin contains auto-detection plugins for video/audio outputs",
+    "Plugin contains auto-detection plugins for video/audio in- and outputs",
     plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
 
 #ifdef __SYMBIAN32__