From 28eec0700150e32a4f257985a53c22ab22cf562f Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 25 Dec 2007 00:34:14 +0000 Subject: 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. --- 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 23b45132..bc50f451 100644 --- a/sys/glsink/gstgldownload.c +++ b/sys/glsink/gstgldownload.c @@ -207,20 +207,20 @@ gst_gl_download_sink_setcaps (GstPad * pad, GstCaps * caps) download = GST_GL_DOWNLOAD (gst_pad_get_parent (pad)); - GST_ERROR ("called with %" GST_PTR_FORMAT, caps); + GST_DEBUG ("called with %" GST_PTR_FORMAT, caps); structure = gst_caps_get_structure (caps, 0); ret = gst_structure_get_int (structure, "width", &download->width); ret &= gst_structure_get_int (structure, "height", &download->height); if (!ret) { - GST_ERROR ("bad caps"); + GST_DEBUG ("bad caps"); return FALSE; } srccaps = gst_video_format_new_caps (download->format, download->width, download->height, 30, 1, 1, 1); - GST_ERROR ("srccaps %" GST_PTR_FORMAT, srccaps); + GST_DEBUG ("srccaps %" GST_PTR_FORMAT, srccaps); ret = gst_pad_set_caps (download->srcpad, srccaps); gst_caps_unref (srccaps); -- cgit v1.2.1