From 326a44649c4862e4b590d2754c3c3f8bdee5b706 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Wed, 24 Jun 2009 17:58:36 +0200 Subject: [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. --- tests/test-rgb-upload.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests') 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, -- cgit v1.2.3