[empathy] print a warning if pulsesrc is missing
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] print a warning if pulsesrc is missing
- Date: Wed, 3 Oct 2012 14:54:03 +0000 (UTC)
commit 6d81ab8897e71e4476a45864c20ec7584732d3d2
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Oct 3 16:38:49 2012 +0200
print a warning if pulsesrc is missing
src/empathy-audio-src.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-audio-src.c b/src/empathy-audio-src.c
index 6e0ddae..c9dc1d4 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]