summaryrefslogtreecommitdiff
path: root/clutter-gst/clutter-gst-plugin.c
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-11-15 18:31:50 +0000
committerLionel Landwerlin <llandwerlin@gmail.com>2013-11-15 18:31:50 +0000
commit504838703f9a8fcbfaa75e53809a63d1d08635e2 (patch)
tree0e3d6f22f700a4b7cf48b6af7b5d39815bcd1ac0 /clutter-gst/clutter-gst-plugin.c
parent69f3f007e09797902e1a293aa277e758d5757d7b (diff)
downloadclutter-gst-504838703f9a8fcbfaa75e53809a63d1d08635e2.tar.gz
plugin: defer clutter_init() call from plugin registration to sink creation
Diffstat (limited to 'clutter-gst/clutter-gst-plugin.c')
-rw-r--r--clutter-gst/clutter-gst-plugin.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/clutter-gst/clutter-gst-plugin.c b/clutter-gst/clutter-gst-plugin.c
index 7f24d46..add157c 100644
--- a/clutter-gst/clutter-gst-plugin.c
+++ b/clutter-gst/clutter-gst-plugin.c
@@ -59,10 +59,6 @@ plugin_init (GstPlugin *plugin)
XInitThreads ();
#endif
- /* We must enshure that clutter is initialized */
- if (clutter_init (NULL, NULL) != CLUTTER_INIT_SUCCESS)
- return FALSE;
-
ret = gst_element_register (plugin,
"clutterautovideosink",
GST_RANK_NONE,