diff options
Diffstat (limited to 'sys/glsink/gstopengl.c')
-rw-r--r-- | sys/glsink/gstopengl.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/glsink/gstopengl.c b/sys/glsink/gstopengl.c index 7116174a..4889e0a6 100644 --- a/sys/glsink/gstopengl.c +++ b/sys/glsink/gstopengl.c @@ -33,6 +33,8 @@ #include <glimagesink.h> GType gst_gl_upload_get_type (void); +GType gst_gl_download_get_type (void); +GType gst_gl_filter_get_type (void); static gboolean @@ -46,15 +48,17 @@ plugin_init (GstPlugin * plugin) return FALSE; } if (!gst_element_register (plugin, "glupload", - GST_RANK_MARGINAL, gst_gl_upload_get_type ())) { + GST_RANK_NONE, gst_gl_upload_get_type ())) { return FALSE; } -#if 0 if (!gst_element_register (plugin, "gldownload", - GST_RANK_MARGINAL, GST_TYPE_GL_DOWNLOAD)) { + GST_RANK_NONE, gst_gl_download_get_type ())) { + return FALSE; + } + if (!gst_element_register (plugin, "glfilter", + GST_RANK_NONE, gst_gl_filter_get_type ())) { return FALSE; } -#endif return TRUE; } |