telepathy-farstream: examples/call-handler.c: Actually use has_audio_src / has_video_src
George Kiagiadakis
gkiagia at kemper.freedesktop.org
Wed Sep 25 05:35:57 PDT 2013
Module: telepathy-farstream
Branch: master
Commit: 482561aa00c9329aa3d82e00a3f26eff38e7eee4
URL: http://cgit.freedesktop.org/telepathy/telepathy-farstream/commit/?id=482561aa00c9329aa3d82e00a3f26eff38e7eee4
Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date: Mon Sep 23 17:28:53 2013 +0300
examples/call-handler.c: Actually use has_audio_src / has_video_src
---
examples/call-handler.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/examples/call-handler.c b/examples/call-handler.c
index aa553b3..1124e5a 100644
--- a/examples/call-handler.c
+++ b/examples/call-handler.c
@@ -359,12 +359,14 @@ start_sending_cb (TfContent *content, gpointer user_data)
goto out;
element = setup_audio_source (context, content);
+ context->has_audio_src = TRUE;
break;
case FS_MEDIA_TYPE_VIDEO:
if (context->has_video_src)
goto out;
element = setup_video_source (context, content);
+ content->has_video_src = TRUE;
break;
default:
g_warning ("Unknown media type");
More information about the telepathy-commits
mailing list