From d424509377fe60d7b58b45fa812e3bc55f4da928 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Mon, 7 Nov 2011 16:14:52 +0000 Subject: sink: Disable slicing when creating the texture We want to ensure the underlying texture is not a sliced one. --- clutter-gst/clutter-gst-video-sink.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c index b96a975..ec1fa16 100644 --- a/clutter-gst/clutter-gst-video-sink.c +++ b/clutter-gst/clutter-gst-video-sink.c @@ -537,7 +537,9 @@ clutter_gst_source_dispatch (GSource *source, if (!priv->texture) { ClutterActor *stage = clutter_stage_get_default (); - ClutterActor *actor = clutter_texture_new (); + ClutterActor *actor = g_object_new (CLUTTER_TYPE_TEXTURE, + "disable-slicing", TRUE, + NULL); priv->texture = CLUTTER_TEXTURE (actor); clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE); -- cgit v1.2.3