summaryrefslogtreecommitdiffstats
path: root/sys/glsink/gstopengl.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2007-12-21 00:03:11 +0000
committerDavid Schleef <ds@schleef.org>2007-12-21 00:03:11 +0000
commitbb4e1d10e99c206fdf0ca22a43ef20efa24236ef (patch)
tree5d99e25822404edf4c91fd1e96ee33be00cee66b /sys/glsink/gstopengl.c
parent1bc2202132e729b40e002eb98520ee7b2a788149 (diff)
downloadgst-plugins-bad-bb4e1d10e99c206fdf0ca22a43ef20efa24236ef.tar.gz
gst-plugins-bad-bb4e1d10e99c206fdf0ca22a43ef20efa24236ef.tar.bz2
gst-plugins-bad-bb4e1d10e99c206fdf0ca22a43ef20efa24236ef.zip
sys/glsink/: Switch to using framebuffer_objects instead of GLXPixmaps, because that's what my driver supports. Remo...
Original commit message from CVS: * sys/glsink/Makefile.am: * sys/glsink/glextensions.c: * sys/glsink/glextensions.h: * sys/glsink/glimagesink.c: * sys/glsink/glimagesink.h: * sys/glsink/glvideo.c: * sys/glsink/glvideo.h: * sys/glsink/gstglbuffer.c: * sys/glsink/gstglbuffer.h: * sys/glsink/gstgldownload.c: * sys/glsink/gstglfilter.c: * sys/glsink/gstglupload.c: * sys/glsink/gstopengl.c: Switch to using framebuffer_objects instead of GLXPixmaps, because that's what my driver supports. Remove GLDrawable, since GstGLDisplay now has a default drawable and context.
Diffstat (limited to 'sys/glsink/gstopengl.c')
-rw-r--r--sys/glsink/gstopengl.c12
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;
}