summaryrefslogtreecommitdiff
path: root/clutter-gst/clutter-gst-plugin.c
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2014-05-26 23:39:55 +0100
committerLionel Landwerlin <llandwerlin@gmail.com>2014-05-28 08:27:54 +0100
commit61f1a5a00c500e212976a4f7f82076f21ebcdd7f (patch)
tree354822533fee75a43b2797772efc3b51f589ea4b /clutter-gst/clutter-gst-plugin.c
parenta4b6dd885961948f5e4bd98e9c0f86de851f95da (diff)
downloadclutter-gst-61f1a5a00c500e212976a4f7f82076f21ebcdd7f.tar.gz
Drop Cogl-Gst dependency and reimport video sink
Diffstat (limited to 'clutter-gst/clutter-gst-plugin.c')
-rw-r--r--clutter-gst/clutter-gst-plugin.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/clutter-gst/clutter-gst-plugin.c b/clutter-gst/clutter-gst-plugin.c
index a4e622d..2b348d5 100644
--- a/clutter-gst/clutter-gst-plugin.c
+++ b/clutter-gst/clutter-gst-plugin.c
@@ -36,8 +36,10 @@
#endif
#include "clutter-gst-auto-video-sink.h"
+#include "clutter-gst-video-sink.h"
GST_DEBUG_CATEGORY (clutter_gst_auto_video_sink_debug);
+GST_DEBUG_CATEGORY (clutter_gst_video_sink_debug);
/* entry point to initialize the plug-in
* initialize the plug-in itself
@@ -66,6 +68,13 @@ plugin_init (GstPlugin *plugin)
if (!ret)
return FALSE;
+ ret = gst_element_register (plugin,
+ "cluttervideosink",
+ GST_RANK_NONE,
+ CLUTTER_GST_TYPE_VIDEO_SINK);
+ if (!ret)
+ return FALSE;
+
return TRUE;
}