diff options
Diffstat (limited to 'gst/autodetect/gstautodetect.c')
-rw-r--r-- | gst/autodetect/gstautodetect.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gst/autodetect/gstautodetect.c b/gst/autodetect/gstautodetect.c index 9f02b9c9..c3316559 100644 --- a/gst/autodetect/gstautodetect.c +++ b/gst/autodetect/gstautodetect.c @@ -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,12 +39,16 @@ plugin_init (GstPlugin * plugin) 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) |