diff options
author | Edward Hervey <edward.hervey@collabora.co.uk> | 2011-10-20 12:11:45 +0200 |
---|---|---|
committer | Edward Hervey <edward.hervey@collabora.co.uk> | 2012-07-12 16:17:53 +0200 |
commit | e02d8c7a3a140fb9f607ed14f8f233843b09d757 (patch) | |
tree | a38741ed971ede9180edcfa33b4f9eb0e8ef013b /clutter-gst/clutter-gst-util.c | |
parent | ab78d2d6f25d31205f1b7a50b004275074d549da (diff) | |
download | clutter-gst-e02d8c7a3a140fb9f607ed14f8f233843b09d757.tar.gz |
port to GStreamer 1.0
Contributions from: Alban Browaeys <prahal@yahoo.com>
Diffstat (limited to 'clutter-gst/clutter-gst-util.c')
-rw-r--r-- | clutter-gst/clutter-gst-util.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/clutter-gst/clutter-gst-util.c b/clutter-gst/clutter-gst-util.c index 9c858ec..4391372 100644 --- a/clutter-gst/clutter-gst-util.c +++ b/clutter-gst/clutter-gst-util.c @@ -103,6 +103,7 @@ #include <X11/Xlib.h> #endif +#include "clutter-gst-private.h" #include "clutter-gst-debug.h" #include "clutter-gst-video-sink.h" #include "clutter-gst-util.h" @@ -143,6 +144,16 @@ clutter_gst_init (int *argc, #ifdef CLUTTER_GST_ENABLE_DEBUG _clutter_gst_debug_init(); #endif + gst_plugin_register_static (GST_VERSION_MAJOR, + GST_VERSION_MINOR, + "cluttersink", + "Element to render to Clutter textures", + _internal_plugin_init, + VERSION, + "LGPL", /* license */ + "clutter-gst", PACKAGE, + "http://www.clutter-project.org"); + clutter_gst_is_initialized = TRUE; @@ -213,6 +224,16 @@ clutter_gst_init_with_args (int *argc, #ifdef CLUTTER_GST_ENABLE_DEBUG _clutter_gst_debug_init (); #endif + gst_plugin_register_static (GST_VERSION_MAJOR, + GST_VERSION_MINOR, + "cluttersink", + "Element to render to Clutter textures", + _internal_plugin_init, + VERSION, + "LGPL", /* license */ + "clutter-gst", PACKAGE, + "http://www.clutter-project.org"); + clutter_gst_is_initialized = TRUE; |