aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-10-03 22:38:49 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-10-03 22:38:49 +0800
commit6d81ab8897e71e4476a45864c20ec7584732d3d2 (patch)
treefd8a30254663f54e42d7384ed3f3c90ff4057908
parentb8c1f913ff156003f147c1a68ca28b8145f01e99 (diff)
downloadgsoc2013-empathy-6d81ab8897e71e4476a45864c20ec7584732d3d2.tar
gsoc2013-empathy-6d81ab8897e71e4476a45864c20ec7584732d3d2.tar.gz
gsoc2013-empathy-6d81ab8897e71e4476a45864c20ec7584732d3d2.tar.bz2
gsoc2013-empathy-6d81ab8897e71e4476a45864c20ec7584732d3d2.tar.lz
gsoc2013-empathy-6d81ab8897e71e4476a45864c20ec7584732d3d2.tar.xz
gsoc2013-empathy-6d81ab8897e71e4476a45864c20ec7584732d3d2.tar.zst
gsoc2013-empathy-6d81ab8897e71e4476a45864c20ec7584732d3d2.zip
print a warning if pulsesrc is missing
-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);