summaryrefslogtreecommitdiff
path: root/src/empathy-audio-src.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-10-03 16:38:49 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-10-03 16:38:49 +0200
commit6d81ab8897e71e4476a45864c20ec7584732d3d2 (patch)
treefd8a30254663f54e42d7384ed3f3c90ff4057908 /src/empathy-audio-src.c
parentb8c1f913ff156003f147c1a68ca28b8145f01e99 (diff)
downloadempathy-6d81ab8897e71e4476a45864c20ec7584732d3d2.tar.gz
print a warning if pulsesrc is missing
Diffstat (limited to 'src/empathy-audio-src.c')
-rw-r--r--src/empathy-audio-src.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/empathy-audio-src.c b/src/empathy-audio-src.c
index 6e0ddae36..c9dc1d403 100644
--- a/src/empathy-audio-src.c
+++ b/src/empathy-audio-src.c
@@ -252,7 +252,10 @@ create_src (void)
/* Use pulsesrc as default */
src = gst_element_factory_make ("pulsesrc", NULL);
if (src == NULL)
- return NULL;
+ {
+ g_warning ("Missing 'pulsesrc' element");
+ return NULL;
+ }
empathy_audio_set_stream_properties (src, TRUE);