summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2013-09-23 14:28:53 (GMT)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2013-09-23 14:28:53 (GMT)
commit482561aa00c9329aa3d82e00a3f26eff38e7eee4 (patch)
treea4fa16159714cc853cdb8e79ea8918c239eb5a86
parent0816fe31d1c0b7f90770f72dd52c75dae3d21afb (diff)
downloadtelepathy-farstream-482561aa00c9329aa3d82e00a3f26eff38e7eee4.tar.gz
telepathy-farstream-482561aa00c9329aa3d82e00a3f26eff38e7eee4.tar.xz
examples/call-handler.c: Actually use has_audio_src / has_video_src
-rw-r--r--examples/call-handler.c2
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");