diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-05-09 15:04:23 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-05-09 15:04:23 +0000 |
commit | 007f36899a324c678270a6e924393aa22495bc3f (patch) | |
tree | 4d37daf868e61ccf932780a1d9d92abb3c409456 /src/plugin.c | |
parent | c217175adeb0e0f20b7259fea2f414316a6abef6 (diff) |
add source element
git-svn-id: file:///home/lennart/svn/public/gst-pulse/trunk@17 bb39ca4e-bce3-0310-b5d4-eea78a553289
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c index 9f99aea..f034222 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -24,6 +24,7 @@ #endif #include "polypsink.h" +#include "polypsrc.h" GST_DEBUG_CATEGORY(polyp_debug); @@ -32,6 +33,9 @@ static gboolean plugin_init(GstPlugin* plugin) { if (!gst_element_register(plugin, "polypsink", GST_RANK_NONE, GST_TYPE_POLYPSINK)) return FALSE; + if (!gst_element_register(plugin, "polypsrc", GST_RANK_NONE, GST_TYPE_POLYPSRC)) + return FALSE; + GST_DEBUG_CATEGORY_INIT(polyp_debug, "polyp", 0, "Polypaudio elements"); return TRUE; } |