[Spice-devel] [spice-gtk] gst: Fix typo in preprocessor symbol

Christophe Fergeau cfergeau at redhat.com
Wed Dec 9 03:21:30 PST 2015


When the GStreamer backend is used, HAVE_GSTAUDIO is defined, not
HAVE_GST_AUDIO.
---
 src/spice-audio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/spice-audio.c b/src/spice-audio.c
index 550d02a..64d9bca 100644
--- a/src/spice-audio.c
+++ b/src/spice-audio.c
@@ -45,7 +45,7 @@
 #ifdef HAVE_PULSE
 #include "spice-pulse.h"
 #endif
-#ifdef HAVE_GST_AUDIO
+#ifdef HAVE_GSTAUDIO
 #include "spice-gstaudio.h"
 #endif
 
@@ -264,7 +264,7 @@ SpiceAudio *spice_audio_new(SpiceSession *session, GMainContext *context,
 #ifdef HAVE_PULSE
     self = SPICE_AUDIO(spice_pulse_new(session, context, name));
 #endif
-#ifdef HAVE_GST_AUDIO
+#ifdef HAVE_GSTAUDIO
     if (!self)
         self = SPICE_AUDIO(spice_gstaudio_new(session, context, name));
 #endif
-- 
2.5.0



More information about the Spice-devel mailing list