aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index ae28b8902..0b55158b9 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);