[empathy: 10/10] tp_call_channel_add_content_async() now takes the direction



commit abb277867f74af71705f453e0db3f947d85b084a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Feb 21 10:13:44 2012 +0100

    tp_call_channel_add_content_async() now takes the direction

 libempathy-gtk/empathy-call-utils.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-call-utils.c b/libempathy-gtk/empathy-call-utils.c
index c2363c4..4f01851 100644
--- a/libempathy-gtk/empathy-call-utils.c
+++ b/libempathy-gtk/empathy-call-utils.c
@@ -321,7 +321,8 @@ empathy_call_channel_send_video (TpCallChannel *self,
   if (send && !found)
     {
       tp_call_channel_add_content_async (self, "video",
-          TP_MEDIA_STREAM_TYPE_VIDEO, NULL, NULL);
+          TP_MEDIA_STREAM_TYPE_VIDEO, TP_MEDIA_STREAM_DIRECTION_BIDIRECTIONAL,
+          NULL, NULL);
     }
 }
 



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