diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2011-11-07 16:14:52 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2011-11-07 16:14:52 +0000 |
commit | d424509377fe60d7b58b45fa812e3bc55f4da928 (patch) | |
tree | 740c48e62b2ad1f5dd576f596ef0e177fd5f74e0 | |
parent | 898ab2a6f8160504c5254bcffee4dfb21e0bc33a (diff) |
sink: Disable slicing when creating the texture
We want to ensure the underlying texture is not a sliced one.
-rw-r--r-- | clutter-gst/clutter-gst-video-sink.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |