summaryrefslogtreecommitdiff
path: root/tests/test-rgb-upload.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-rgb-upload.c')
-rw-r--r--tests/test-rgb-upload.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-rgb-upload.c b/tests/test-rgb-upload.c
index f47c99b..57dde63 100644
--- a/tests/test-rgb-upload.c
+++ b/tests/test-rgb-upload.c
@@ -149,7 +149,8 @@ main (int argc, char *argv[])
src = gst_element_factory_make ("videotestsrc", NULL);
capsfilter = gst_element_factory_make ("capsfilter", NULL);
- sink = clutter_gst_video_sink_new (CLUTTER_TEXTURE (texture));
+ sink = gst_element_factory_make ("cluttersink", NULL);
+ g_object_set (sink, "texture", CLUTTER_TEXTURE (texture), NULL);
/* make videotestsrc spit the format we want */
caps = gst_caps_new_simple ("video/x-raw-rgb",