[pinpoint] remove clutter_gst_video_sink_new() calls



commit 5118c870cd0b77097d67964c306a87f5c01ed355
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Sun Nov 4 23:11:55 2012 +0000

    remove clutter_gst_video_sink_new() calls

 pp-clutter.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pp-clutter.c b/pp-clutter.c
index 31864f7..525eb38 100644
--- a/pp-clutter.c
+++ b/pp-clutter.c
@@ -1163,7 +1163,8 @@ setup_camera (PinPointRenderer *renderer,
     }
 
   capsfilter = gst_element_factory_make ("capsfilter", NULL);
-  sink = clutter_gst_video_sink_new (CLUTTER_TEXTURE (texture));
+  sink = g_object_new (CLUTTER_GST_TYPE_VIDEO_SINK,
+                       "texture", texture, NULL);
 
   /* make videotestsrc spit the format we want */
   caps = gst_caps_new_simple ("video/x-raw-yuv", NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]