diff options
author | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2007-02-08 17:10:00 +0000 |
---|---|---|
committer | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2007-02-08 17:10:00 +0000 |
commit | 94afcb3f636c0a54859a02fc21472f6b265aab29 (patch) | |
tree | afeb8fb1ad630f977ea8288770f04a215965b25f /gst/gstnice.c | |
parent | 8349861676415a71309eeb70480b52b2af452028 (diff) | |
download | libnice-94afcb3f636c0a54859a02fc21472f6b265aab29.tar.gz |
add GStreamer sink
darcs-hash:20070208171033-c9803-a4c5644aa41618d48c57c65261a72d0b1951a068.gz
Diffstat (limited to 'gst/gstnice.c')
-rw-r--r-- | gst/gstnice.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gst/gstnice.c b/gst/gstnice.c index 03c4c59..41bc88f 100644 --- a/gst/gstnice.c +++ b/gst/gstnice.c @@ -1,12 +1,20 @@ #include "config.h" #include "gstnicesrc.h" +#include "gstnicesink.h" static gboolean plugin_init (GstPlugin * plugin) { - return gst_element_register (plugin, "nicesrc", GST_RANK_NONE, - GST_TYPE_NICE_SRC); + if (!gst_element_register (plugin, "nicesrc", + GST_RANK_NONE, GST_TYPE_NICE_SRC)) + return FALSE; + + if (!gst_element_register (plugin, "nicesink", + GST_RANK_NONE, GST_TYPE_NICE_SINK)) + return FALSE; + + return TRUE; } GST_PLUGIN_DEFINE ( |