[empathy] CallWindow: flip the video preview



commit db8f9ed9b022e72ae2471c52268b9147ca4e3003
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Wed Jul 6 15:18:46 2011 +0100

    CallWindow: flip the video preview

 src/empathy-call-window.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index ae28b89..0b55158 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -716,6 +716,14 @@ create_video_preview (EmpathyCallWindow *self)
   priv->video_preview_sink = clutter_gst_video_sink_new (
       CLUTTER_TEXTURE (preview));
 
+  /* Flip the video preview */
+  clutter_actor_set_rotation (preview,
+      CLUTTER_Y_AXIS,
+      180,
+      SELF_VIDEO_SECTION_WIDTH * 0.5,
+      0.0,
+      0.0);
+
   /* Add a little offset to the video preview */
   layout = clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_END,
       CLUTTER_BIN_ALIGNMENT_START);



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