diff options
author | David Schleef <ds@schleef.org> | 2007-12-25 00:34:14 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2007-12-25 00:34:14 +0000 |
commit | 28eec0700150e32a4f257985a53c22ab22cf562f (patch) | |
tree | 3fb7e5335d512653decb4e674fd5f24276647e56 /sys/glsink/gstopengl.c | |
parent | 9222358367f769105de122803bddfe49f6c680e4 (diff) | |
download | gst-plugins-bad-28eec0700150e32a4f257985a53c22ab22cf562f.tar.gz gst-plugins-bad-28eec0700150e32a4f257985a53c22ab22cf562f.tar.bz2 gst-plugins-bad-28eec0700150e32a4f257985a53c22ab22cf562f.zip |
sys/glsink/: Add gltestsrc element, a duplicate of videotestsrc that uses
Original commit message from CVS:
* sys/glsink/Makefile.am:
* sys/glsink/gltestsrc.c:
* sys/glsink/gltestsrc.h:
* sys/glsink/gstgldisplay.c:
* sys/glsink/gstgldownload.c:
* sys/glsink/gstglfilter.c:
* sys/glsink/gstgltestsrc.c:
* sys/glsink/gstgltestsrc.h:
* sys/glsink/gstglupload.c:
* sys/glsink/gstopengl.c:
Add gltestsrc element, a duplicate of videotestsrc that uses
GL rendering to create images. More cleanup.
Diffstat (limited to 'sys/glsink/gstopengl.c')
-rw-r--r-- | sys/glsink/gstopengl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/glsink/gstopengl.c b/sys/glsink/gstopengl.c index 4889e0a6..d44ed9f2 100644 --- a/sys/glsink/gstopengl.c +++ b/sys/glsink/gstopengl.c @@ -35,6 +35,7 @@ GType gst_gl_upload_get_type (void); GType gst_gl_download_get_type (void); GType gst_gl_filter_get_type (void); +GType gst_gl_test_src_get_type (void); static gboolean @@ -59,6 +60,10 @@ plugin_init (GstPlugin * plugin) GST_RANK_NONE, gst_gl_filter_get_type ())) { return FALSE; } + if (!gst_element_register (plugin, "gltestsrc", + GST_RANK_NONE, gst_gl_test_src_get_type ())) { + return FALSE; + } return TRUE; } |