summaryrefslogtreecommitdiff
path: root/examples/call-handler.c
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2013-09-23 17:28:53 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2013-09-23 17:28:53 +0300
commit482561aa00c9329aa3d82e00a3f26eff38e7eee4 (patch)
treea4fa16159714cc853cdb8e79ea8918c239eb5a86 /examples/call-handler.c
parent0816fe31d1c0b7f90770f72dd52c75dae3d21afb (diff)
examples/call-handler.c: Actually use has_audio_src / has_video_src
Diffstat (limited to 'examples/call-handler.c')
-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");