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/gstgldownload.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/gstgldownload.c')
-rw-r--r-- | sys/glsink/gstgldownload.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |