summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2009-06-24 17:58:36 +0200
committerDamien Lespiau <damien.lespiau@intel.com>2009-06-24 17:58:36 +0200
commit326a44649c4862e4b590d2754c3c3f8bdee5b706 (patch)
tree3d964ed65a37a9710a99d9685c77ace2b26bad5d /tests
parent6a5f04e1f207df28acb976e41615f7b66989bce0 (diff)
[videosink] Remove the use-shaders property
This is an API change. This property had been unused for a couple of months. Basically the use of shaders depends on runtime detection. For those who still do not want to use the colorspacing shaders, you can use a capsfilter before the clutter sink to request RGB. See tests/test-rgb-upload.c for an example of doing just that.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-rgb-upload.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-rgb-upload.c b/tests/test-rgb-upload.c
index a91a307..ba20b5d 100644
--- a/tests/test-rgb-upload.c
+++ b/tests/test-rgb-upload.c
@@ -142,8 +142,6 @@ main (int argc, char *argv[])
capsfilter = gst_element_factory_make ("capsfilter", NULL);
sink = clutter_gst_video_sink_new (CLUTTER_TEXTURE (texture));
- g_object_set (G_OBJECT (sink), "use-shaders", FALSE, NULL);
-
/* make videotestsrc spit the format we want */
caps = gst_caps_new_simple ("video/x-raw-rgb",
"bpp", G_TYPE_INT, opt_bpp,