diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-07-06 22:18:46 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-07-12 16:46:23 +0800 |
commit | db8f9ed9b022e72ae2471c52268b9147ca4e3003 (patch) | |
tree | 101c8bea25daf3dfe95315041062bf15d608b3cc /src | |
parent | 6aa94458db8c15961cb0a489cdde5ef59d6f6928 (diff) | |
download | gsoc2013-empathy-db8f9ed9b022e72ae2471c52268b9147ca4e3003.tar gsoc2013-empathy-db8f9ed9b022e72ae2471c52268b9147ca4e3003.tar.gz gsoc2013-empathy-db8f9ed9b022e72ae2471c52268b9147ca4e3003.tar.bz2 gsoc2013-empathy-db8f9ed9b022e72ae2471c52268b9147ca4e3003.tar.lz gsoc2013-empathy-db8f9ed9b022e72ae2471c52268b9147ca4e3003.tar.xz gsoc2013-empathy-db8f9ed9b022e72ae2471c52268b9147ca4e3003.tar.zst gsoc2013-empathy-db8f9ed9b022e72ae2471c52268b9147ca4e3003.zip |
CallWindow: flip the video preview
Diffstat (limited to 'src')
-rw-r--r-- | 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 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); |