From 15dbe49f8103bfcf493a225868734fdf8c924d03 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 24 Dec 2007 20:53:56 +0000 Subject: sys/glsink/: Rewrite a bunch of code to use textures as the intermediate instead of renderbuffers. upload, download,... Original commit message from CVS: * 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: Rewrite a bunch of code to use textures as the intermediate instead of renderbuffers. upload, download, filtering all work. --- sys/glsink/gstgldownload.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/glsink/gstgldownload.c') diff --git a/sys/glsink/gstgldownload.c b/sys/glsink/gstgldownload.c index 5c7bbedb..eb7ac744 100644 --- a/sys/glsink/gstgldownload.c +++ b/sys/glsink/gstgldownload.c @@ -71,7 +71,7 @@ static GstStaticPadTemplate gst_gl_download_src_pad_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB) + GST_STATIC_CAPS (GST_VIDEO_CAPS_RGBx) ); static GstStaticPadTemplate gst_gl_download_sink_pad_template = @@ -178,13 +178,13 @@ gst_gl_download_reset (GstGLDownload * download) g_object_unref (download->display); download->display = NULL; } - download->format = GST_VIDEO_FORMAT_RGB; + download->format = GST_VIDEO_FORMAT_RGBx; } static gboolean gst_gl_download_start (GstGLDownload * download) { - download->format = GST_VIDEO_FORMAT_RGB; + download->format = GST_VIDEO_FORMAT_RGBx; return TRUE; } -- cgit v1.2.1